[jboss-dev-forums] [Design of JBoss ESB] - Failover MessageRedelivery
kurt.stam@jboss.com
do-not-reply at jboss.com
Tue Aug 14 01:32:35 EDT 2007
I checked in the redelivery code. So if your delivery fails it will store the message in the message store and schedule it for redelivery.
Check out the new jboss-esb.xml in the jbosses.esb archive, look at the new redelivery service
| <service category="JBossESB-Internal" name="RedeliverService" description="Scheduled Service to Redeliver Messages">
| <listeners>
| <scheduled-listener name="redeliver-scheduled-listener" scheduleidref="5-min-trigger" composer="org.jboss.soa.esb.schedule.RedeliverEventMessageComposer" />
| </listeners>
| <actions>
| <action name="RedeliverMessagesAction" class="org.jboss.soa.esb.actions.MessageRedeliverer" />
| </actions>
| </service>
|
This redelivery mechanism only kicks in for async delivery. For synchronous message delivery I simply let the delivery fail, so the client can deal with the delivery failure.
I hope this makes sense to everyone. I will be adding docs tomorrow, but please let me know if you have any feedback/suggestions.
thx!
--Kurt
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073818#4073818
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073818
More information about the jboss-dev-forums
mailing list