On Dec 1, 2007, at 4:34 AM, Tomasz Mazan wrote:

Driver which receives JmsRequest and send JmsResponse have to get some data
from JmsRequest, but Handle is only get from JmsRequest and put to
JmsResponse. In fact it doesn't, but it should.

Where is cause of that JMSException ?


javax.jms.JMSException: Failed to build body from bytes. Reason:
java.io.IOException: myapp.dispatcher.feedback.FeedbackGateEjbRemoteObject
        at
org .apache .activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:33)
        at
org .apache .activemq .command.ActiveMQObjectMessage.getObject(ActiveMQObjectMessage.java: 172)


As I suspected in IRC, it seems ActiveMQ cannot see the myapp.dispatcher.feedback.FeedbackGateEjbRemoteObject class and therefore cannot deserialize the ObjectMessage.

You should try serializing and deserializing the Handle in your bean code where the class is visible.

-David


Reply via email to