[jboss-dev-forums] [Design of JBoss ESB] - Re: Problem in Content Based Routing

beve do-not-reply at jboss.com
Mon Aug 11 06:58:09 EDT 2008


anonymous wrote : 2008-08-11 15:52:13,700 WARN  [org.jboss.soa.esb.message.mapping.ObjectMapper] The value of body.Task is null
You are getting this error because the Task object in not located in the location named Task. The task object instance is located as the default entry:
anonymous wrote : objects: {org.jboss.soa.esb.message.defaultEntry=task.Task

Try adding a action that puts the Task object in the correct location:
message.getBody().add("Task",message.getBody().get());


Regards,

/Daniel


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169837#4169837

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4169837



More information about the jboss-dev-forums mailing list