ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » How to find that a message has been delivered??

Post new topic  Reply to topic
 How to find that a message has been delivered?? « View previous topic :: View next topic » 
Author Message
sumeet
PostPosted: Sun May 09, 2004 4:50 pm    Post subject: How to find that a message has been delivered?? Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Sun May 09, 2004 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
sumeet
PostPosted: Mon May 10, 2004 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon May 10, 2004 2:51 am    Post subject: Reply with quote

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
View user's profile Send private message
mqonnet
PostPosted: Mon May 10, 2004 5:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to find that a message has been delivered??
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.