Skip to content

Instantly share code, notes, and snippets.

@efroese
Created March 28, 2012 15:01
Show Gist options
  • Save efroese/2226892 to your computer and use it in GitHub Desktop.
Save efroese/2226892 to your computer and use it in GitHub Desktop.
String stompUrl = PropertiesUtil.toString(properties.get(ACTIVEMQ_STOMP_BROKER_URL), "stomp://localhost:61613");
TransportConnector stompConnector = broker.addConnector(stompUrl);
stompConnector.setConnectUri(new URI(stompUrl));
stompConnector.setName("stomp");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment