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 determin that the message was successfully sent

Post new topic  Reply to topic
 How to determin that the message was successfully sent « View previous topic :: View next topic » 
Author Message
rsinha
PostPosted: Tue Nov 18, 2003 3:04 pm    Post subject: How to determin that the message was successfully sent Reply with quote

Apprentice

Joined: 29 Aug 2003
Posts: 42

Hi,
Is there an easy way to determin at our end that the message I sent thru the local Q Manager, was successfully delivered to the remote Q Manager? We are testing with our trading partner who has a mq cluster setup at their end. So often they complain they haven't received the message on the expected Q, we sent to them, they then ask us to verify at our end. The only thing I'm able to verify is that the message was placed on the transmit Q (My JMS application didn't return any exceptions when I put the message on the remote Q) and the outgoing channel didn't have any erors.
So, if this info is saved anywhere, then I can check that, every time they complain and tell them for sure that message left our side atleast. The MQ Logs are not that readable, so is there any alternative?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 18, 2003 5:14 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There are some report options (called COA and COD, for "confirm on arrival" and "confirm on delivery") that you can set in the MQSeries header. Specifying these options will cause the MQSeries system to send a notice back to your application either when the message has "arrived" or when it's been "delivered". I don't recall the distinctions between the two.

If you do a search here for "COA" or "COD", you should find some stuff about setting these in Java or JMS.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
emiranda
PostPosted: Wed Nov 19, 2003 3:12 am    Post subject: Reply with quote

Disciple

Joined: 21 Nov 2002
Posts: 196
Location: Dublin, Ireland

The reports are:

COA (Confirm-on-Arrival) - The message reached the destination queue
COD (Confirm-0n-Delivery) - The message was read from the queue

You should ask for Exception report also, wich will indicates any exception to the delivery process (message goin into the dead letter queue on destination, destination queue full, etc)

They're Report options in the Message Descriptor structure:
md.Report = MQRO_COA + MQRO_COD + MQRO_EXCEPTION

Don't forge to code the "ReplyToQ" and "ReplyToQMgr" parameters.

Look over Application Programming Reference.

_________________
Warm Regards,
EM
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Nov 19, 2003 6:31 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

If they are receiving the messages via MDBs, make sure that the message isn't getting moved by the ListenerPort to the queue's backout queue. The ListenerPort will honor the bothresh and move a poison message to the backout queue. I believe the default backout queue for embedded JMS is SYSTEM.DEAD.LETTER.QUEUE. This is also a good place to go looking for lost messages.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to determin that the message was successfully sent
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.