|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message lost while disconnection two machines! |
« View previous topic :: View next topic » |
Author |
Message
|
JImmy |
Posted: Tue Jan 21, 2003 10:38 pm Post subject: Message lost while disconnection two machines! |
|
|
Acolyte
Joined: 23 Feb 2002 Posts: 59 Location: Shanghai, China
|
Hi,
I define a sender channel in my local machine and a receiver channel in a
remote machine. Also I define the remote queue definition and transmission
queue in my local machine and a local queue in the remote machine.
If I disconnect the remote machine from my loal machine, all the message
sent to remote queue definition should be stored in transmission queue. But
I found that after the disconnection, the first message put to remote queue
definition can not be stored in the transmission queue, and all the
following message can be stored in transmission queue.
Can anybody tell me why?
Thanks
Jimmy |
|
Back to top |
|
 |
emileke |
Posted: Tue Jan 21, 2003 11:57 pm Post subject: |
|
|
Centurion
Joined: 19 Aug 2001 Posts: 110 Location: South Africa
|
What do you mean by disconnect the remote machine?
Do you disconnect before you send the messages?
Is it not on the remote machine?
If by disconnect you mean rebooting of the remote machine, is the local queue and the messages persistent? _________________ Emile M Kearns |
|
Back to top |
|
 |
JImmy |
Posted: Wed Jan 22, 2003 12:01 am Post subject: |
|
|
Acolyte
Joined: 23 Feb 2002 Posts: 59 Location: Shanghai, China
|
Thanks for you response,
1. I disconnect the remote machine from our LAN, that is what i said disconnection.
2. I disconnect first, send the message second
3. local queue is not assigned the persistent attribute. |
|
Back to top |
|
 |
emileke |
Posted: Wed Jan 22, 2003 1:28 am Post subject: |
|
|
Centurion
Joined: 19 Aug 2001 Posts: 110 Location: South Africa
|
Why don't you try the following;
1. Stop the channel between local and remote machine.
2. Send the message to the remote queue on local machine.
3. See if all the messages are in the XMITQ.
4. If not, check the DLQ if you have one assigned to your QMGR, in fact , make sure that you always have a DLQ assigned to the DLQ. _________________ Emile M Kearns |
|
Back to top |
|
 |
mgrabinski |
Posted: Wed Jan 22, 2003 11:31 pm Post subject: |
|
|
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
|
Hi Jimmy,
Here is what you are experiencing:
You are sending a bunch of non-persistent messages over a channel with NPMSPEED set to FAST (default settings). When you disconnect the remote host, the message currently on the way doesn't reach the remote manager. Your local manager thinks the message has been sent and tries to send another. Doing so it discovers that the link is down, so doesn't send any more messages.
To solve it, simply send persistent messages or set the NPMSPEED parameter of the sender channel to NORMAL. Both settings will enable an internal "commit" processing in the channel and no message will be lost. _________________ Marcin Grabinski <>< |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|