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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...