This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
wood burning stoves
 
subject: setRedliverDelay in Jboss 4.0.4 GA - JMS
 
Similar Threads
.SAR file problem
JBossmq NameNotFoundException, myqueue not bound
Remove "queue" prefix from JMS jndi name
Cant get reference to Queue
Happy Birthday JavaRanch!