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 » General IBM MQ Support » How to see message availability???

Post new topic  Reply to topic
 How to see message availability??? « View previous topic :: View next topic » 
Author Message
jaykarthi
PostPosted: Mon Jan 09, 2006 1:46 am    Post subject: How to see message availability??? Reply with quote

Newbie

Joined: 28 Dec 2005
Posts: 6
Location: Chennai, India.

When I run a publisher application using JMS with Websphere MQ.6 and no subscriber applications are running(yet to get started)
1. What will happen to the Message sent by the publisher?
2. If it will be residing in the Queue then how can I see or check whether a message is published and also the message using Websphere MQ explorer or MQ command?
_________________
HI from KARTHIK.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jan 09, 2006 4:20 am    Post subject: Re: How to see message availability??? Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

jaykarthi wrote:
1. What will happen to the Message sent by the publisher?


It's discarded. Unless it's a retained publication.

But don't use retained publications unless you have to.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jaykarthi
PostPosted: Mon Jan 09, 2006 9:10 pm    Post subject: Reply with quote

Newbie

Joined: 28 Dec 2005
Posts: 6
Location: Chennai, India.

If that is the case, then what is the difference between having it as retained publication and having a dead letter queue(my understanding is that DLQs retain the failed delivery messages)? Clarify me on this.

Thanks for the earlier reply.
_________________
HI from KARTHIK.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jan 10, 2006 4:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It is not my understanding that non-retained publications for topics with no registered subscribers will end up on the Dead Letter Queue.

It is my understanding that these publications will be deleted.

I have been known to be wrong before.

Again, don't use retained publications unless there's a very specific business case for using them. And then think twice about that business case and see if there is another way to solve it.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Jan 11, 2006 2:47 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

jaykarthi wrote:
what is the difference between having it as retained publication and having a dead letter queue(my understanding is that DLQs retain the failed delivery messages)?


In MQ's JMS you don't get to control all of the fine details of the usage of the MA0C command messages. The controls, such as they are, are all on the subscribe, rather than the publish.

On the publish, MQ's JMS doesn't use the MA0C facility of retained publications.

You do get to choose whether to create a durable or non-durable subscriber. If non-durable, then the subscription only lives, at maximum, for the life of the app/connection. If durable, then messages will be stored for the app even if it stops running. For the durable subscriber, you do have to explicitly unsubscribe when you no longer want to receive messages.

The DLQ is only used when a message is unprocessable. The full rules on this are complex - but are documented

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaw.doc/jms77a4.htm

(Scroll down to the section entitled "Handling poison messages")
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Jan 11, 2006 4:19 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Actually, I think you only get retained publications when you use Message or Event Broker as your pub/sub engine, not the plain broker that is shipped with MQ as of 5.3.8 (and that used to be MA0C).
_________________
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 » General IBM MQ Support » How to see message availability???
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.