It's easier than that.
You just need to pass the maxDeliveryAttempts value into the constructor of the
ServerConsumerEndpoint, in the method
ServerSessionEndpoint::createConsumerDelegateInternal.
Take a look at how this is already done for expiryQueue or dlq which also has a local
override that takes precendence over the server peer value.
Then you just need to remove the maxDeliveryAttempts attribute from the session and make
sure you pass the correct value into ServerSessionEndpoint methods when called from
ServerConsumerEndpoint
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4051280#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...