|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to find that a message has been delivered?? |
« View previous topic :: View next topic » |
Author |
Message
|
sumeet |
Posted: Sun May 09, 2004 4:50 pm Post subject: How to find that a message has been delivered?? |
|
|
Novice
Joined: 16 Mar 2004 Posts: 16
|
Hi all,
In our project the communicaiton links between two servers (queue managers) would not be available at all times. If messages are sent out at a time when the links are down, the messages will end up in the transmission queue.
The problem with that is that, we are required to take a data back up of the messages and if they are on the transmission queue, we can not back them up (Is that correct?).
One possible solution is that we store all ready messages in a database / local queue. We send out only one message at a time (which is done when the network is available, and we intend to find that out by doing a ping channel) and after we find out that the message has been delivered at the destination, we send out the next message.
This brings us to the problem that is it possible to find out whether a message has been delivered at the remote destination? One solution was a request reply model but that is out becuase of the overheads involved.
Any inputs would be greatly appreciated
Thanks & Regards |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun May 09, 2004 8:54 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Do you need to back them up on the sending side, or the receiving side?
That is, do you need to back them up before they've gone over the channel, or only after?
If it's on the sending side, then just code your app to put the message to two queues - either using a distribution list or an exit - and then back the message up from the second queue into a database or something.
If you need to know when a message was sent, then use a Certificate of Arrival (COA) or Certificate of Delivery (COD) message report option.
That will tell you when the message has gone over the channel to the other side. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
sumeet |
Posted: Mon May 10, 2004 1:27 am Post subject: |
|
|
Novice
Joined: 16 Mar 2004 Posts: 16
|
Hi Jeff,
Thanks for the respones.
We need to back them up on the sending side. We plan to put the ready message in a database and then have the message sending application read the message from the table.
If I understand correctly, COA / COD will tell me at the source side when the message has arrived at the remote destination's local queue.
Would greatly appreciate if you could confirm one of earlier doubts also, that one can not retrieve messages from a transmission queue / back them up or modify them....
Thanks & Regards |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon May 10, 2004 2:51 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
A transmission queue is just a local queue.
But it's likely to be opened exclusively by the MCA.
Plus, messages on transmission queues will have transmission headers on them that wrap the MQMD. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mqonnet |
Posted: Mon May 10, 2004 5:56 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Just to add to what jeff mentioned.
You could browse a transmission queue even if a channel has kept it open. Which would mean, your purpose of reading the message off the queue could still be achieved if the messages are on the tq. Of course you have to take care of the TQ header.
Cheers
Kumar |
|
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
|
|
|
|