JBoss Community

DeliverAsynch loosing data on the Message.

created by soltar in JBoss ESB Development - View the full discussion

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

Start a new discussion in JBoss ESB Development at Community