Steve Kruse [
http://community.jboss.org/people/hskruse] created the discussion
"ESB Action StaticRouter vs JMSRouter"
To view the discussion, visit:
http://community.jboss.org/message/626955#626955
--------------------------------------------------------------
Hi,
I have run into an issue when using the StaticRouter and having the message body not
contain the object that I expected. Does the StaticRouter put another wrapper aroound the
message body that would cause services down the line not to recognize the object that it
should contain? My scenario is the following, I have a service that contains an action
that takes in a message that I then add some properties too and then forward it to another
service using the StaticRouter. In the receiving service the action tries to cast the
message body to what it was set to in the forwarding service and it fails with a class
cast exception. When I use the JMSRouter everything works fine and the service action has
no problem casting the object to what is expected. Any help is much appreciated.
Thanks,
Steve
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/626955#626955]
Start a new discussion in JBoss ESB Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]