Hi,

the client and the broker should negotiate the protocol version they use
and they should use the lowest version there is. I'm not sure why your old
client is trying to use the newest protocol version. Having said that 4.0
is really old and not supported, so you should be considering an upgrade.

Regards
--
Dejan Bosanac
----------------------
Red Hat, Inc.
FuseSource is now part of Red Hat
dbosa...@redhat.com
Twitter: @dejanb
Blog: http://sensatic.net
ActiveMQ in Action: http://www.manning.com/snyder/


On Thu, Apr 10, 2014 at 10:22 AM, mmg <manjusha.g...@gmail.com> wrote:

> Hi,
>
> Can a produce and consumer running on different activemq versions exchange
> messages?
> My  producer  is running in latest ActiveMQ version (5.9.0) where as my
> consumer  is running in ActiveMQ 4.0.1.  I am getting following exception
> in
> consumer
>
> Exception in thread "ActiveMQ Transport: tcp:///x.x.x.x:61616"
> java.lang.IllegalArgumentException: Invalid version: 10, could not load
> org.apache.activemq.openwire.v10.MarshallerFactory
>         at
>
> org.apache.activemq.openwire.OpenWireFormat.setVersion(OpenWireFormat.java:329)
>         at
>
> org.apache.activemq.openwire.OpenWireFormat.renegociatWireFormat(OpenWireFormat.java:569)
>         at
>
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:100)
>         at
>
> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
>         at
>
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
>         at
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:143)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.activemq.openwire.v10.MarshallerFactory
>         at
> org.apache.activemq.util.ClassLoading.loadClass(ClassLoading.java:104)
>         at
>
> org.apache.activemq.openwire.OpenWireFormat.setVersion(OpenWireFormat.java:327)
>         ... 6 more
> Thanks,
> mmg
>
>
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Can-a-produce-and-consumer-running-on-different-activemq-versions-exchange-messages-tp4680200.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to