aspose file tools*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: setRedliverDelay in Jboss 4.0.4 GA - JMS