Broker URIThe Broker URI allows you to run a configured broker using a single URI for all the configuration. SyntaxThe URI is assumed to be a composite uri with multiple uris that are used to bind the connectors of the broker. broker:(transportURI,network:networkURI)/brokerName?brokerOptions If a composite URI use the network: scheme, then the rest of the URI is bound as a network connector. Broker Options
Example URIThe following example starts up a broker accepting connections on port 61616, and establishes a network connection to remotehost:61616 and disables persistence. broker:(tcp://localhost:61616,network:static:tcp://remotehost:61616)?persistent=false&useJmx=true You can use the Broker URI on other transports If you are using another transport - such as the VM Transport Reference then you can refer to the above broker URI properties inside that URL. e.g. using the URL vm://localhost?broker.persistent=false |