blob: c692579b48d3b47e95beb107adc09b8d0d25ebfe [file] [log] [blame]
<div class="wiki-content maincontent"><h2 id="NMSURIConfiguration-ConfiguringNMS">Configuring NMS</h2>
<p>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.</p>
<h3 id="NMSURIConfiguration-ConnectionURIParameters"><strong>Connection URI Parameters</strong></h3>
<h5 id="NMSURIConfiguration-ExampleConfiguration">&#160;Example Configuration</h5>
<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>cf = new NMSConnectionFactory("activemq:tcp://localhost:61616");
</pre>
</div></div>
<h3 id="NMSURIConfiguration-NMSProviderOptions">NMS Provider Options</h3>
<p>Click on the provider name to visit the URI configuration documentation for your chosen NMS provider.</p>
<div class="table-wrap"><table class="confluenceTable"><tbody><tr><th colspan="1" rowspan="1" class="confluenceTh"><p> Option Name </p></th><th colspan="1" rowspan="1" class="confluenceTh"><p> Description </p></th></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <a shape="rect" href="activemq-uri-configuration.xml">activemq</a> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use the NMS.ActiveMQ Provider to talk to an ActiveMQ Broker. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> <a shape="rect" href="stomp-uri-configuration.xml">stomp</a> </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use the NMS.Stomp Provider to talk to an Stomp Broker ActivemMQ Broker supports the Stomp protocol natively. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> ems </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use the NMS.EMS Provider to talk to a TIBCO Broker. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> msmq </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use the NMS.MSMQ Provider to talk to a Microsoft Messaging (MSMQ) Broker. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> wcf </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use the NMS.WCF Provider to support a Windows Communication Foundation (WCF) endpoint connection for connecting to a back-end broker. </p></td></tr><tr><td colspan="1" rowspan="1" class="confluenceTd"><p> xms </p></td><td colspan="1" rowspan="1" class="confluenceTd"><p> Use the NMS.XMS Provider to talk to an IBM MQSerios Broker. This provider is currently not implemented. </p></td></tr></tbody></table></div>
</div>