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 Discussion » Browsing messages in a topic

Post new topic  Reply to topic
 Browsing messages in a topic « View previous topic :: View next topic » 
Author Message
sbuster
PostPosted: Wed Oct 22, 2008 6:24 pm    Post subject: Browsing messages in a topic Reply with quote

Apprentice

Joined: 07 Oct 2008
Posts: 25

Is is possible to browse the messages in a topic?
Back to top
View user's profile Send private message
gs
PostPosted: Wed Oct 22, 2008 11:17 pm    Post subject: Reply with quote

Master

Joined: 31 May 2007
Posts: 254
Location: Sweden

Um, what kind of topics are we talking about here - discussion topics in the forum, MQ topics, WMB topics?
Back to top
View user's profile Send private message
sbuster
PostPosted: Thu Oct 23, 2008 2:47 am    Post subject: Reply with quote

Apprentice

Joined: 07 Oct 2008
Posts: 25

Topics defined in MQ. I would like to be able to see the "topic depth", interrogate the details of any specific message in the topic etc. All the thing I can do with MQ Explorer and Queues.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Thu Oct 23, 2008 6:33 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

You mean to see how many published messages are queued on a particular topic string for a particular durable subscriber? Why would you want to know that?

Pub/sub concepts are quite different to FIFO queuing concepts. "Topic depth" is not a meaninful term to MQ.
_________________
Glenn
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 24, 2008 1:34 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

gbaddeley wrote:
You mean to see how many published messages are queued on a particular topic string for a particular durable subscriber? Why would you want to know that?

Pub/sub concepts are quite different to FIFO queuing concepts. "Topic depth" is not a meaninful term to MQ.


It could be meaningful to you, if you get all your subscriptions on a specific queue, but messages for a specific topic are not getting consumed from that specific queue. Any browse action on such a queue should show you what is being left in it.

In gbaddeley's defense, if you do not specify a queue for your subscriptions, you would have to go through all generic subscribers' stuff and that doesn't make much sense....

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Fri Oct 24, 2008 2:25 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

AFAIK topics just control where published messages are routed to. The underlying queues can be browsed.

If you wanted to have a copy of messages for a given topic - register a subscription (maybe use a topic alias queue) using a queue that you can browse.
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Sun Oct 26, 2008 5:21 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

zpat wrote:
AFAIK topics just control where published messages are routed to. The underlying queues can be browsed.

If you wanted to have a copy of messages for a given topic - register a subscription (maybe use a topic alias queue) using a queue that you can browse.


AKA a "non-managed" subscription, where MQ does not manage the queued subscription messages for you (as it does by default), you have to provide your own local queue name.

It also needs to be a "durable" subscription, so that MQ does not throw away the messages when the subscriber is not running.
_________________
Glenn
Back to top
View user's profile Send private message
mvic
PostPosted: Mon Nov 03, 2008 6:21 pm    Post subject: Re: Browsing messages in a topic Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

sbuster wrote:
Is is possible to browse the messages in a topic?

If you are a subscriber to a topic, you get messages from the topic, you don't browse them. Of course the underlying implementation may or may not allow you to browse them. But in principle the pub/sub model does not treat the topic as a message store, only as a stream of messages.
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 Discussion » Browsing messages in a topic
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.