Hi there,

I am having trouble connecting to my TIBCO EMS server using the NMS library.

I have downloaded the TIBCO Client assembly dll from TIBCO as well as 
Apache.NMS.EMS.dll.

I have also placed a nmsprovider-ems.config file in the bin folder with the 
following content:

<?xml version="1.0" encoding="utf-8" ?>

<configuration>
    <provider assembly="Apache.NMS.EMS.dll" 
classFactory="Apache.NMS.EMS.ConnectionFactory"/>
</configuration>

I use the NMS Simple Asynchronous Consumer Example example from this 
<https://activemq.apache.org/components/nms/examples/nms-simple-asynchronous-consumer-example>
 page.

however, when I run, I get the following error:

Exception has occurred: CLR/Apache.NMS.NMSConnectionException
An unhandled exception of type 'Apache.NMS.NMSConnectionException' occurred in 
Apache.NMS.dll: 'No IConnectionFactory implementation found for connection URI: 
ems:tcp://tibserver:7222'

Below is my URI configuration:

            Uri connecturi = new Uri("ems:tcp://tibserver:7222");
            IConnectionFactory factory = new NMSConnectionFactory(connecturi);

Please help.

Thank you very much,
Ali

Reply via email to