You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by digant <di...@stanford.edu> on 2010/12/14 00:03:26 UTC
Using SonicMQ client with ActiveMQ server?
Hello,
We have some old code that uses the SonicMQ libraries and we're trying to
move them to ActiveMQ server. So far, when they try to negotiate a
connection, I get:
Transport failed: java.io.IOException: Remote wire format magic is invalid
I see that ActiveMQ is sending:
Sending: WireFormatInfo { version=3, properties={TightEncodingEnabled=true,
CacheSize=1024, TcpNoDelayEnabled=true, SizePrefixDisabled=false,
StackTraceEnabled=true, MaxInactivityDurationInitalDelay=10000,
MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
And it is receiving:
Received WireFormat: WireFormatInfo { version=0, properties={},
magic=[,,,,,,,]}
Any ideas of how I can change/fix this, or even what the root of the problem
is? can I get ActiveMQ to accept version 0? (the default wireformat should
be 0, from my readings). And it shouldn't care about the magic, I didn't
think.
--
View this message in context: http://activemq.2283324.n4.nabble.com/Using-SonicMQ-client-with-ActiveMQ-server-tp3086206p3086206.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Using SonicMQ client with ActiveMQ server?
Posted by digant <di...@stanford.edu>.
> ActiveMQ and SonicMQ use two entirely different wire protocols so you
> can't just point your SonicMQ client at an ActiveMQ broker. You'd need
> to either use a JMS to JMS bridge, or if the client is using pure JMS
> API calls then just have your client use the ActiveMQ Java client
> instead.
Excellent. That's what I thought and I just wanted to confirm. Thanks!
--
Digant C Kasundra <di...@stanford.edu>
Infrastructure Systems Software Developer, ITS:IDG, Stanford University
--
View this message in context: http://activemq.2283324.n4.nabble.com/Using-SonicMQ-client-with-ActiveMQ-server-tp3086206p3086251.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: Using SonicMQ client with ActiveMQ server?
Posted by Timothy Bish <ta...@gmail.com>.
On Mon, 2010-12-13 at 15:03 -0800, digant wrote:
> Hello,
>
> We have some old code that uses the SonicMQ libraries and we're trying to
> move them to ActiveMQ server. So far, when they try to negotiate a
> connection, I get:
>
> Transport failed: java.io.IOException: Remote wire format magic is invalid
>
> I see that ActiveMQ is sending:
>
> Sending: WireFormatInfo { version=3, properties={TightEncodingEnabled=true,
> CacheSize=1024, TcpNoDelayEnabled=true, SizePrefixDisabled=false,
> StackTraceEnabled=true, MaxInactivityDurationInitalDelay=10000,
> MaxInactivityDuration=30000, CacheEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
>
> And it is receiving:
>
> Received WireFormat: WireFormatInfo { version=0, properties={},
> magic=[,,,,,,,]}
>
> Any ideas of how I can change/fix this, or even what the root of the problem
> is? can I get ActiveMQ to accept version 0? (the default wireformat should
> be 0, from my readings). And it shouldn't care about the magic, I didn't
> think.
ActiveMQ and SonicMQ use two entirely different wire protocols so you
can't just point your SonicMQ client at an ActiveMQ broker. You'd need
to either use a JMS to JMS bridge, or if the client is using pure JMS
API calls then just have your client use the ActiveMQ Java client
instead.
Regards
--
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/