Author |
Message
|
sbuster |
Posted: Wed Oct 22, 2008 6:24 pm Post subject: Browsing messages in a topic |
|
|
Apprentice
Joined: 07 Oct 2008 Posts: 25
|
Is is possible to browse the messages in a topic? |
|
Back to top |
|
 |
gs |
Posted: Wed Oct 22, 2008 11:17 pm Post subject: |
|
|
 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 |
|
 |
sbuster |
Posted: Thu Oct 23, 2008 2:47 am Post subject: |
|
|
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 |
|
 |
gbaddeley |
Posted: Thu Oct 23, 2008 6:33 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Fri Oct 24, 2008 1:34 am Post subject: |
|
|
 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 |
|
 |
zpat |
Posted: Fri Oct 24, 2008 2:25 am Post subject: |
|
|
 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 |
|
 |
gbaddeley |
Posted: Sun Oct 26, 2008 5:21 pm Post subject: |
|
|
 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 |
|
 |
mvic |
Posted: Mon Nov 03, 2008 6:21 pm Post subject: Re: Browsing messages in a topic |
|
|
 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 |
|
 |
|