Click here to Skip to main content
15,911,711 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi folks,

I have an activeMQ broker url that starts with activemq:tcp://host:port

I also have referenced Apache.NMS, Apache.NMS.ActiveMQ and Ionic.Zip in my project.

When the following line is run, I get the exception: "Apache.NMS.NMSConnectionException: 'No IConnectionFactory implementation found for connection URI: activemq:tcp"

IConnectionFactory factory = new NMSConnectionFactory(connecturi);


(where connecturi is just a valid activemq broker uri)

My project has target framework of .Net 4.5.2, but the referenced assemblies are 4.0 - perhaps that is the cause? Can one load assemblies of different target assembly?

Thanks,
Mike

What I have tried:

I tried to change my solution target framework to match the 4.0 assemblies, but there are other assemblies that require 4.5...
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900