You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by cdmh <cd...@googlemail.com> on 2012/06/10 13:17:13 UTC

Remote client transport factory configuration

I have been using ActiveMQ 5.4.3 with C++ on Windows, connecting to a local
server with ActiveMQ CPP 3.4.1 . Everything works great. I have now compiled
the system on Ubuntu Linux and want to run this connecting to the same
Windows ActiveMQ server. I get the error:

Failed to post message to queue "xxx"
No Matching Factory Registered for format := tcp
        FILE: activemq/transport/TransportRegistry.cpp, LINE: 44
        FILE: activemq/core/ActiveMQConnectionFactory.cpp, LINE: 325

On Linux, I am using ActiveMQ 3.4.3 - is there a compatibility problem?

If not, how do I configure the MQ client library? I assume it works on
Windows because I have the server installed? I don't have another Windows
machine without the ActiveMQ server to try.

Thanks for you help
-- Craig

--
View this message in context: http://activemq.2283324.n4.nabble.com/Remote-client-transport-factory-configuration-tp4653142.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Remote client transport factory configuration

Posted by Timothy Bish <ta...@gmail.com>.
On Sun, 2012-06-10 at 04:17 -0700, cdmh wrote: 
> I have been using ActiveMQ 5.4.3 with C++ on Windows, connecting to a local
> server with ActiveMQ CPP 3.4.1 . Everything works great. I have now compiled
> the system on Ubuntu Linux and want to run this connecting to the same
> Windows ActiveMQ server. I get the error:
> 
> Failed to post message to queue "xxx"
> No Matching Factory Registered for format := tcp
>         FILE: activemq/transport/TransportRegistry.cpp, LINE: 44
>         FILE: activemq/core/ActiveMQConnectionFactory.cpp, LINE: 325
> 
> On Linux, I am using ActiveMQ 3.4.3 - is there a compatibility problem?
> 
> If not, how do I configure the MQ client library? I assume it works on
> Windows because I have the server installed? I don't have another Windows
> machine without the ActiveMQ server to try.
> 
> Thanks for you help
> -- Craig
> 
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Remote-client-transport-factory-configuration-tp4653142.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Did you remember to call the library init method?


-- 
Tim Bish
Sr Software Engineer | FuseSource Corp
tim.bish@fusesource.com | www.fusesource.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/


Re: Remote client transport factory configuration

Posted by cdmh <cd...@googlemail.com>.
Thanks - that was in a platform-dependent bit compiled out for Linux! 

--
View this message in context: http://activemq.2283324.n4.nabble.com/Remote-client-transport-factory-configuration-tp4653142p4653145.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.