Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 848BF1134E for ; Thu, 10 Apr 2014 16:04:10 +0000 (UTC) Received: (qmail 70295 invoked by uid 500); 10 Apr 2014 16:04:09 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 69963 invoked by uid 500); 10 Apr 2014 16:04:08 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 69953 invoked by uid 99); 10 Apr 2014 16:04:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 16:04:06 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of chubrilo@gmail.com designates 209.85.212.169 as permitted sender) Received: from [209.85.212.169] (HELO mail-wi0-f169.google.com) (209.85.212.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2014 16:04:01 +0000 Received: by mail-wi0-f169.google.com with SMTP id hm4so1223928wib.4 for ; Thu, 10 Apr 2014 09:03:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=pPDmaXRQhsvhU0bnUsRO4404laXFaWlsn3oSVUmlhFE=; b=r+2WZ85cbbe7j3XPGMsPO1f3x05C8Fa4fBkiOZUxybKsqhgwIQDoEEbudu+Zrr8tPf 6fu4ZSrQAR6S9aLU2TLB34ETre7kbEzYyYDDM9zP3Dd9v0ck5ZOEgGWponGOGRrOLtcT 0Y7pYa4vEomxOC7/HxaSHhhBQcmkFk1m6CiGrHA9YNxRzH2KgHmp2myrWGKu2gFZBJh+ i171yFlx5TcmseLeyM5LwAN41PrMhfeVNTOYSVytErA6Co7GW5gNTJFLbRRNhD8a7fyR LwjtSAvXuiBRiPH43gkMBAcAAgX4O4btMHsv9GnJ7poWByI2AgvLFNpriQdf8tMRdlUp zy6A== MIME-Version: 1.0 X-Received: by 10.180.187.225 with SMTP id fv1mr16094200wic.14.1397145820529; Thu, 10 Apr 2014 09:03:40 -0700 (PDT) Sender: chubrilo@gmail.com Received: by 10.216.104.199 with HTTP; Thu, 10 Apr 2014 09:03:40 -0700 (PDT) In-Reply-To: <1397118157913-4680200.post@n4.nabble.com> References: <1397118157913-4680200.post@n4.nabble.com> Date: Thu, 10 Apr 2014 18:03:40 +0200 X-Google-Sender-Auth: LUiOFKOE7LvbsK44b98KUBv3Og8 Message-ID: Subject: Re: Can a produce and consumer running on different activemq versions exchange messages? From: Dejan Bosanac To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=001a11c25d30550af104f6b25cc6 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c25d30550af104f6b25cc6 Content-Type: text/plain; charset=ISO-8859-1 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 dbosanac@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 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. > --001a11c25d30550af104f6b25cc6--