Posted: Thu Jun 09, 2005 12:09 pm Post subject: Trigger Transmission Problem
Newbie
Joined: 09 Jun 2005 Posts: 4
Hi,
I've a MQe client and a remote queue pointing to a queue which resides on a MQe Server.
When i start the client and the connection to the server is alive, the messages flows correctly to the server queue. Then, if a start the client with no connection to the server the new messages are stored in the remote queue on the client. so far it is good. The problem is that when the connection becomes alive again the new messages are still stored in the remote queue. I read that i can call the triggerTransission method of the MQeQueueManager class to begin the transmission to the server of the stored messages. I called this method but the messages are still stored in the remote queue without flowing to the server.
If the TriggerTransmission was called but the the connection was offline, then the message still stays in the client's remote queue.
One technique to make the trigger transmission retry at regular intervals is to set up a queue manager rule. The examples.rules.ExampleQueueManagerRules.java shows how this is done.
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