[
https://issues.apache.org/activemq/browse/AMQ-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39006
]
anish pathadan commented on AMQ-1221:
-------------------------------------
Hi All,
The test case given seems to be obsolete as it sends a text message and
tries to typecast it to an object message.
I have changed it to send an object message, and I could receive the message
from the queue from a different machine. I used active mq 4.1.1 for testing.
Thanks,
Anish
> Exception
> ---------
>
> Key: AMQ-1221
> URL: https://issues.apache.org/activemq/browse/AMQ-1221
> Project: ActiveMQ
> Issue Type: Bug
> Environment: Eclipse 3.2 (java)
> Reporter: takwa
> Attachments: tt2.java
>
>
> I found this problems when I try to consume from a Queue But I didn't when
> the Queue is a local one !!!!!!!!!!!!!!!!!!!!!
> this is what I found in the consol when I run the example :
> <<<<<<"" Caught: java.lang.RuntimeException: javax.jms.JMSException: Failed
> to build body from bytes. Reason: java.io.IOException:
> com.tunisiana.ws.common.audit.AuditMessage
> java.lang.RuntimeException: javax.jms.JMSException: Failed to build body from
> bytes. Reason: java.io.IOException: com.tunisiana.ws.common.audit.AuditMessage
> at file1.tt2$HelloWorldConsumer.run(tt2.java:197)
> at file1.tt2.main(tt2.java:38)
> Caused by: javax.jms.JMSException: Failed to build body from bytes. Reason:
> java.io.IOException: com.tunisiana.ws.common.audit.AuditMessage
> at
> org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33)
> at
> org.apache.activemq.command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java:172)
> at file1.tt2$HelloWorldConsumer.run(tt2.java:191)
> ... 1 more
> Caused by: java.io.IOException: com.tunisiana.ws.common.audit.AuditMessage
> at
> org.apache.activemq.command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java:168)
> ... 2 more "">>>>>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.