Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setRedliverDelay in Jboss 4.0.4 GA - JMS

 
Seetesh Hindlekar
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic