File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: setRedliverDelay in Jboss 4.0.4 GA - JMS
 
Similar Threads
Cant get reference to Queue
Happy Birthday JavaRanch!
.SAR file problem
JBossmq NameNotFoundException, myqueue not bound
Remove "queue" prefix from JMS jndi name