|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Retaining a msg |
« View previous topic :: View next topic » |
Author |
Message
|
bhargash |
Posted: Mon Mar 25, 2002 4:16 am Post subject: |
|
|
Novice
Joined: 03 Mar 2002 Posts: 16
|
If a MQ client sends a mesage and the server is down,what happens to the message..is it lost?is there any way to retain this message?Do we need to keep a Database at the clent side also??
Pls Help |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Mar 25, 2002 5:37 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If the server is down, you will get an error on the connect attempt. It is then up to you to decide what to do with your message at that point.
If you were able to connect and open, but the server goes down between the open and the put, your put call will fail, and again, it is up to you to decide what to do with the message until you can restablish a connection to the server.
On Gets, always specify the Syncpoint option when your app is a client. That way, if the CLIENT or the network goes down between the request for the GET of a message and the actual hand off to the app, the message will be returned back to the queue.
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bhargash |
Posted: Mon Mar 25, 2002 7:51 pm Post subject: |
|
|
Novice
Joined: 03 Mar 2002 Posts: 16
|
|
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
|
|
|
|