[JBoss JIRA] Created: (JBESB-691) Refactor JMSRouter so that JMS Header fields can be set regardless of the value of unwrap.
by Daniel Bevenius (JIRA)
Refactor JMSRouter so that JMS Header fields can be set regardless of the value of unwrap.
------------------------------------------------------------------------------------------
Key: JBESB-691
URL: http://jira.jboss.com/jira/browse/JBESB-691
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Documentation, Rosetta
Reporter: Daniel Bevenius
Assigned To: Daniel Bevenius
We want to be able to set the property unwrap to true, and still have the correlation id set.
This is currenlty not possible as unwrap will will extract the content of the Message's body (in AbstractRouter) and then pass that Object to JMSRouter's process method, hence the information from the Message object being lost and there is no way to set the outgoing messages correlation id to the Message objects ID.
The suggestion given in the referenced forum discussion is to make the process method in AbstractRouter not final. And then hide by implementing it in JMSRouter.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 4 months