You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Rajesh Malla (JIRA)" <ji...@apache.org> on 2017/12/29 09:07:01 UTC
[jira] [Created] (AMQ-6878) backward compatibility issues consumer
[ 5.8.0 ] -> AMQ broker [5.12.3 ]
Rajesh Malla created AMQ-6878:
---------------------------------
Summary: backward compatibility issues consumer [ 5.8.0 ] -> AMQ broker [5.12.3 ]
Key: AMQ-6878
URL: https://issues.apache.org/jira/browse/AMQ-6878
Project: ActiveMQ
Issue Type: Bug
Components: AMQP, JMS client
Affects Versions: 5.8.0
Reporter: Rajesh Malla
Attachments: SimpleJMS.java, pom.xml
Our client is in 5.8.0 version of ACtiveMQ, where as broker is moved to 5.12.3 version. Now consumer is not receiving messages.
We found similar AMQ defect, however solution is not provided :
https://issues.apache.org/jira/browse/AMQ-5023
We found that org.apache.activemq.command.Message.java - introduced new field jmsXGroupFirstForConsumer. There are some other reasons also.
So can you please provide us any patch on 5.8.0 or lower versions of AMQ to consume message of AMQ 5.9 <= versions.
If we are using 5.15.2 broker, then on consumer [ 5.8.0 with jdk 1.6] side we are getting below :
Exception in thread "ActiveMQ Transport: HTTP Reader http://localhost:22001" com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$UnknownFieldException: No such field org.apache.activemq.command.ActiveMQObjectMessage.jmsXGroupFirstForConsumer
---- Debugging information ----
field : jmsXGroupFirstForConsumer
class : org.apache.activemq.command.ActiveMQObjectMessage
required-type : org.apache.activemq.command.ActiveMQObjectMessage
converter-type : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
path : /org.apache.activemq.command.MessageDispatch/message/jmsXGroupFirstForConsumer
line number : 49
class[1] : org.apache.activemq.command.MessageDispatch
version : null
-------------------------------
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.determineType(AbstractReflectionConverter.java:453)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:294)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:355)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:306)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:234)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134)
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1058)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1042)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:913)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:904)
at org.apache.activemq.transport.xstream.XStreamWireFormat.unmarshalText(XStreamWireFormat.java:53)
at org.apache.activemq.transport.util.TextWireFormat.unmarshal(TextWireFormat.java:56)
at org.apache.activemq.transport.http.HttpClientTransport.run(HttpClientTransport.java:190)
at java.lang.Thread.run(Thread.java:682)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)