[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: How to get to a destination given a Delivery?

timfox do-not-reply at jboss.com
Tue Jun 5 07:38:04 EDT 2007


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#4051280

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4051280



More information about the jboss-dev-forums mailing list