Hi,
I'm working on
http://jira.jboss.com/jira/browse/JBMESSAGING-938, implementing
MaxDeliveryAttempts for destinations. I need to change
ServerSessionEndpoint.cancelDeliveryInternal to take the destination's max delivery
attempts into account, but I see no way to get to the destination given only a Delivery or
Cancel object.
I noticed that destinations are implemented as DeliveryObservers attached to a particular
delivery. Should DeliveryObserver interface be enhanced to include
getMaxDeliveryAttempts() method or maybe shouldCancel(int deliveryCount)? Or is there
another way?
Sergey
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051265#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...