rajesh
rajesh

Reputation: 1

WebSphere application server,listener goes down when error is there MQueue message?

I am using MQ server for messaging in WebSphere application server 8.5.23. I want the lister to be disabled after 3 attempts of receiving message from MQ server when error is there in the message.

I did not find any suggestions. I have added the maxretrieslimit =3 then it started stopping the listener when message was not processed but in one case the listener is not going down when message is not processed even. That case is : I have updated the database processor with 10 extra columns for table then deployed those changes on server. Since then messages are failing but listener did not go down. That is really strange for me. But I could not able to find the root cause but when I restarted jvm then messages were started processed. But still I do not have clue why listener did not go down in this scenario. Could you please help me on this ? I really want to know the reason.

Upvotes: 0

Views: 359

Answers (1)

Alasdair
Alasdair

Reputation: 3211

You want to set maximum retries on the listener port to 3. If you do this you need to make sure that the backout threshold on the queue is set higher than 3 or MQ will move it to the dead letter queue and WebSphere won’t know.

The documentation for this is here

Upvotes: 0

Related Questions