Posted: Thu May 03, 2007 11:08 am Post subject: Jtext Adapter Stops when MQ stops
Newbie
Joined: 11 Jan 2007 Posts: 3
I have Jtext adapters configured to send message (BO's) to MQ which will ultimately be picked by message broker.
I have noticed that the adapters stop whenever MQ stops. The MQ server stops when it encounters some internal errors and the restarts after a little while but the adapters dont as they are down..
Is there any configuration in the adapter that will prevent it to shut down if the MQ connection is broken. I want to adapter to keep on retrying for the connection x no of times or infinitely..
The adapter always needs to have a connection to the queue manager with which it is associated to. It will be periodically checking for messages coming in the Request Queue. Also there are Admin messages which are sent to the queue managers.
So the adapter will go down if it cannot contact the queue manager.
You can change the property 'RestartRetryCount' and 'RestartRetryInterval' to make the connector retry a specific number of times at times of issues.
Changing the property 'RestartRetryCount' and 'RestartRetryInterval' does not work. I have set the 'RestartRetryCount' to 10 and 'RestartRetryInterval' to 1000, but the adapter stops immediately once the MQ goes down.
Changing the property 'RestartRetryCount' and 'RestartRetryInterval' does not work. I have set the 'RestartRetryCount' to 10 and 'RestartRetryInterval' to 1000, but the adapter stops immediately once the MQ goes down.
Thanks
So start it in the MQ start script with the broker... _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum