Sorry my bad...the JMSRouter cannot be used in such a situation.
The way we are currently doing this is using the jms-jca-provider to have a global transaction for an action pipeline. So the message acknowledgement is handled by the commit of the transaction. If we rollback the transaction the message will be redelivered.
But this only handles the incoming message. Not the part of sending out.
/Daniel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139367#4139367
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139367
I concur with dmiley.
Depending on the order in which ESB acknowledges the message from source and sends to destination come in, you will get either an "at most once" or "dups_ok" delivery guarantee.
For a "once and only once" delivery guarantee the ack and the send need to be in the same transaction.
If the source and destination are handled by the same resource manager then that transaction can be a simple local jms tx, otherwise it would need to be a JTA tx.
All the above cases are handled by the JBM bridge. I'm not clear they are handled by the ESB router.
I would consider guaranteed delivery (once and only once) to be a very common requirement for bridging.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139340#4139340
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139340
"alesj" wrote :
| Are there any other hooks (api changes), apart ErrorHandlingMode enum, you've had in mind?
| Picking up bean in the Controller can be done with Controller::change.
You were supposed to discuss it with Julien to get his requirements and work out a proposal.
I imagine it would be related to the incallbacks except a different method gets invoked
when there is error during one of the InstallActions?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139326#4139326
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139326