This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes setRedliverDelay in Jboss 4.0.4 GA - JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "setRedliverDelay in Jboss 4.0.4 GA - JMS" Watch "setRedliverDelay in Jboss 4.0.4 GA - JMS" New topic
Author

setRedliverDelay in Jboss 4.0.4 GA - JMS

Seetesh Hindlekar
Ranch Hand

Joined: Feb 13, 2004
Posts: 244
Hello,

How do I programmatically set the redeliverdelay() in the code for the following conditions?

1. connection failure
2. session recovery
3. doin NACK during client acknowledge

Currently we are setting the same in the jboss-service.xml file

<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=SeetDogQueue">
<attribute name="RedeliveryDelay">60000</attribute>
<depends optional-attribute-name="DestinationManager"> jboss.mq:service=DestinationManager </depends>
</mbean>

Rgds,

Seetesh
 
Have you checked out Aspose?
 
subject: setRedliverDelay in Jboss 4.0.4 GA - JMS
 
It's not a secret anymore!