public ConnectionFactoryConfiguration createDefaultFactory(String name, ConnectionFactoryType type) { ConnectionFactoryConfiguration configuration = new ConnectionFactoryConfiguration(name, "activemq"); configuration.addAttribute("broker.uri", defaultBrokerName); configuration.setType(type); return configuration; } }
public ConnectionFactoryResourceBuilder type(ConnectionFactoryType type) { checkState(); definition.getConfiguration().setType(type); return this; }
if (typeString != null) { ConnectionFactoryType type = ConnectionFactoryType.valueOf(typeString.trim().toUpperCase()); configuration.setType(type);