-
Type:
Bug
-
Status: Done
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: AMQ 7.0.3.GA
-
Fix Version/s: AMQ 7.2.0.GA
-
Component/s: None
-
Labels:None
-
Target Release:
-
Steps to Reproduce:
-
Affects:Release Notes
-
Workaround Description:
-
Release Notes Text:
-
Release Notes Docs Status:Documented as Resolved Issue
Sending a (small) compressed Openwire ByteMessages with JMS properties set to a Queue causes the following exception on the consumer side when it tries to decompress the message.
javax.jms.JMSException: java.util.zip.DataFormatException: incorrect header check
|
at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:72)
|
at org.apache.activemq.command.ActiveMQBytesMessage.initializeReading(ActiveMQBytesMessage.java:884)
|
at org.apache.activemq.command.ActiveMQBytesMessage.getBodyLength(ActiveMQBytesMessage.java:198)
|
at com.mysample.ByteMessagesConsumer.doit(ByteMessagesConsumer.java:69)
|
at com.mysample.ByteMessagesConsumer.main(ByteMessagesConsumer.java:22)
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
at java.lang.reflect.Method.invoke(Method.java:606)
|
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
|
at java.lang.Thread.run(Thread.java:745)
|
Caused by: java.io.IOException: java.util.zip.DataFormatException: incorrect header check
|
at org.apache.activemq.command.ActiveMQBytesMessage.decompress(ActiveMQBytesMessage.java:902)
|
at org.apache.activemq.command.ActiveMQBytesMessage.initializeReading(ActiveMQBytesMessage.java:876)
|
... 9 more
|
Caused by: java.util.zip.DataFormatException: incorrect header check
|
at java.util.zip.Inflater.inflateBytes(Native Method)
|
at java.util.zip.Inflater.inflate(Inflater.java:259)
|
at java.util.zip.Inflater.inflate(Inflater.java:280)
|
at org.apache.activemq.command.ActiveMQBytesMessage.decompress(ActiveMQBytesMessage.java:898)
|
... 10 more
|
- is blocked by
-
ARTEMIS-1566 Loading...