[jboss-dev-forums] [JBoss ESB Development] - DeliverAsynch loosing data on the Message.

soltar do-not-reply at jboss.com
Wed Apr 10 17:21:44 EDT 2013


soltar [https://community.jboss.org/people/soltar] created the discussion

"DeliverAsynch loosing data on the Message."

To view the discussion, visit: https://community.jboss.org/message/807555#807555

--------------------------------------------------------------
Hi guys,

I noticed that when I invoke a service using Invoker.deliverAsync method, I see that any data I have on the Body of the message except the data against the default entry is lost in the invoked service. So if have - 

*message.getBody.add("default") and* 
*message.getBody.add("test", "testData");*

*In the invoked service I cannot get to testData*. I can get to the default value, which is stored against the jboss default key.

Any ideas on why the message data is lost ? May be the implementation only copies the default value over. What are my alternate options to pass some data. I am playing with settng this data against the Properties and it seems to be working.

Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/807555#807555]

Start a new discussion in JBoss ESB Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130410/2d9a0524/attachment.html 


More information about the jboss-dev-forums mailing list