3 Replies Latest reply on Aug 30, 2007 6:50 AM by Mark Little

    Sending objects through ESB

    Wiktor Jarka Newbie

      Some time ago I had a problem. I was trying to send an object using ObjectMessage class. When I tried to add object to the message by setObject method, sent a message to the queue and received it on listener I was unable to get that object out of message.

      org.jboss.soa.esb.message.Message couldn't be cast to ObjectMessage and I couldn't get my object back.

      Using message.getBody().get() also didn't result in getting the sent object.

      Could you give me any clue if I was doing something wrong?