Configuring NMS

When working with the generic NMS API NMSConnectionFactory class you must choose via the URI which NMS provider you actually wish to use. This page documents the uri syntax and available options for the NMS providers.

Connection URI Parameters

 Example Configuration
cf = new NMSConnectionFactory("activemq:tcp://localhost:61616");

NMS Provider Options

Click on the provider name to visit the URI configuration documentation for your chosen NMS provider.

Option Name



Use the NMS.ActiveMQ Provider to talk to an ActiveMQ Broker.


Use the NMS.Stomp Provider to talk to an Stomp Broker ActivemMQ Broker supports the Stomp protocol natively.


Use the NMS.EMS Provider to talk to a TIBCO Broker.


Use the NMS.MSMQ Provider to talk to a Microsoft Messaging (MSMQ) Broker.


Use the NMS.WCF Provider to support a Windows Communication Foundation (WCF) endpoint connection for connecting to a back-end broker.


Use the NMS.XMS Provider to talk to an IBM MQSerios Broker. This provider is currently not implemented.

© 2004-2011 The Apache Software Foundation.
Apache ActiveMQ, ActiveMQ, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram