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 » Does WMQ implement TOPIC as a Queue (structure-level)

Post new topic  Reply to topic
 Does WMQ implement TOPIC as a Queue (structure-level) « View previous topic :: View next topic » 
Author Message
sharadyadav75
PostPosted: Tue May 18, 2010 3:40 pm    Post subject: Does WMQ implement TOPIC as a Queue (structure-level) Reply with quote

Newbie

Joined: 18 May 2010
Posts: 2

Hi,

When using JMS, we can setup Queues & Topics. I was wondering if WMQ internally. Logically, I think topics offer everything that a queue does and hence am guessing that WMQ might be using the same data structure (with some variations) for implementing a topic and a queue.

Is my conjecture correct? Please do let me know.

Thanks!
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Wed May 19, 2010 4:43 pm    Post subject: Reply with quote

Jedi Knight

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

Internally, WMQ v7 implements the pub/sub feature using TOPIC objects, QLOCAL objects and SUB objects. Pub/sub messages are stored on QLOCALs, so they all the normal features of non-pub/sub messages. Management of publishers and subscribers is done using messages stored on "SYSTEM" QLOCAL objects. TOPICs provide an administration point for various attributes and security. SUB objects allow legacy apps to be subscribers by associating a topic string with a QLOCAL that they read. Does that answer your conjecture?
_________________
Glenn
Back to top
View user's profile Send private message
sharadyadav75
PostPosted: Thu May 20, 2010 3:26 pm    Post subject: Does WMQ implement TOPIC as a Queue (structure-level) Reply with quote

Newbie

Joined: 18 May 2010
Posts: 2

Thanks Glen!

Is there some place where I can read more about these data structures?
Back to top
View user's profile Send private message
mvic
PostPosted: Thu May 20, 2010 3:59 pm    Post subject: Re: Does WMQ implement TOPIC as a Queue (structure-level) Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

MQ uses queues to hold publication messages intended to be retrieved by subscribers.

That's what one would expect. Particularly for durable subscribers. Not necessarily for non-durable subscribers, I suppose. But yes, queues are used to hold publications intended for non-durable subscribers too.

So your conjecture is correct.

gbaddeley mentions TOPIC objects in the queue manager which are really nothing to do with how the publication messages are held. But as he says, they are "administration points".

The place you would go to read about MQ is the Information Center. Search the internet or perhaps use the links at the top of the mqseries.net pages.
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 Java / JMS » Does WMQ implement TOPIC as a Queue (structure-level)
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.