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 API Support » MQ Series basic questions

Post new topic  Reply to topic
 MQ Series basic questions « View previous topic :: View next topic » 
Author Message
keniav
PostPosted: Wed Jun 28, 2006 7:36 am    Post subject: MQ Series basic questions Reply with quote

Novice

Joined: 26 May 2006
Posts: 24

Hi all,
I have some basic questions on MQ Series. I am a newbie to this area. I appreciate if you can answer these basic questions.

1. I've read about the MQ Series, being able to deliver messages once and only once. My understanding is that MQ achieves this by setting the messages as persistent and the messages on the destination are received in the order of message seq no. Is this the only way that MQ achieves the assured delivery once and only once? Is my understanding correct?

2. How do we know that messages have reached destination, if i am not using a reply-to-Queue option?

3. If i am using reply-to-Queue option, if there is any problem with the message being not delivered to the destination, the messages are sent back to me and are placed in the Dead Letter Queue. So, how do i view those messages, or to be more specific, how do i know that messages have arrived in my deadQ?

I know these are small basic questions. I really appreciate anyone who can think of me as a newbie and answer these questions.
Thanks a lot in advance
Back to top
View user's profile Send private message
Anirud
PostPosted: Wed Jun 28, 2006 7:50 am    Post subject: Reply with quote

Master

Joined: 12 Feb 2004
Posts: 285
Location: Vermont

Here are the answers:

1. Yes.
2. Trust.
3. Monitor dead letter queue.
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Wed Jun 28, 2006 7:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Hi,

1) Your understanding is not correct - all messages are delivered once and only once. Those not marked persistent may not be delivered at all if there's a failure while persistent ones will.

2) By using the reporting options.

3) If requests are not delivered to their destination you won't get them back if they're not on your queue manager - they'll go onto the DLQ at the receiving end. Messages are not returned to the sender under any circumstances that spring to mind (though I'll probably think of something as soon as I've pressed submit!). The DLQ, wherever it's hosted, is just a queue and is interogated like any other. There's a sample handler provided.

As you say, these are small, basic questions and you would appear to have the wrong end of a few sticks. May I recommend you spend a bit of time hitting the books before jumping headfirst into the software? Also try a bit of experimentation - questions like "where do my messages go if..." are often best answered by giving it a try.

Have fun
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 28, 2006 7:53 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Anirud wrote:
Here are the answers:


2. Trust.



This is by far and away the most commonly implemented solution....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jun 28, 2006 2:15 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Vitor wrote:
Anirud wrote:
Here are the answers:


2. Trust.



This is by far and away the most commonly implemented solution....


Just like most people trust a database to perform an INSERT correctly, and don't turn around and SELECT the data they just INSERTED to see if it's there.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQ Series basic questions
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.