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
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.
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.