[
http://jira.jboss.com/jira/browse/JBESB-652?page=comments#action_12367629 ]
Daniel Bevenius commented on JBESB-652:
---------------------------------------
Is it alright if I check this in?
Perhaps I should add a note about this somewhere in the docs. Users might have different
correlation strategies and having an example of how they can override the JMSRouter might
help them. Any ide in which doc this would go into?
Thanks,
Daniel
Refactory JMSRouter to simplfy setting properties on JMSMessage from
ESB Message object
---------------------------------------------------------------------------------------
Key: JBESB-652
URL:
http://jira.jboss.com/jira/browse/JBESB-652
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Reporter: Daniel Bevenius
Assigned To: Daniel Bevenius
Priority: Minor
The use case for this is that we need to set the correlation id of the JMSMessage before
it is sent by the JMSRouter.
We have previously subclassed JMSRouter but this was not the best solution as we needed
to override the route method and duplicate most of the code.
I would be nice to have a method that would be called from the route method that looked
something like this:
setJMSProperties ( jmsMessage, esbMsg );
The default implementation could do nothing but would let subclasses only override this
method.
--
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