Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How and where to set maxretries parameter

 
Rahul Babbar
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I need to set the parameter on the weblogic server so that it does not receive any Message after a certain number of times from MDB the delivery of which failed.
I googled and found out that we need to set a parameter called "MaxRetry" which should allow me get this objective.

But i cant find where to set up this parameter. It doesnt seem to come on the admin console, or in any xml file.

Can someone enlighten me on this?

Thanks
 
Hareesh Ram Chanchali
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rahul,

I believe it should config.xml

 
Rahul Babbar
Ranch Hand
Posts: 210
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I was able to get rid of it using from the weblogic management console.
Services->Messaging->JMS Modules -> <Queue>

Initially i tried to change the redelivery limit to some reasonable value of 10 instead of -1.
but it did not seem to work, because the redelivery had already been made more than 10 times, perhaps.

So, it changed the "Delivery Mode Override" of the queue to be non persistent instead of persistent.

and it works...

Thanks...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic