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 » Content based search thru broker in Pub/Sub scenario.

Post new topic  Reply to topic
 Content based search thru broker in Pub/Sub scenario. « View previous topic :: View next topic » 
Author Message
sanks
PostPosted: Tue Nov 01, 2005 9:19 pm    Post subject: Content based search thru broker in Pub/Sub scenario. Reply with quote

Apprentice

Joined: 21 Mar 2005
Posts: 27

Hi,
I am waving in a difficult state now-a-days that not able to get the solution of the following problem.

I am using MQ Pub/sub -broker (Not WebSphere Business Integration Event Broker and WebSphere Business Integration Message Broker) in my application.
I have one topic and multiple subscriber i.e queues which are interned get listened by individual MDB. My problem is, based on the topic's message-header Id, I need to pass message to different Queues. Actually I want to use the content/header based filtration on the message thru broker to send message to different queues accordingly.

Is there any way to do it? Make sure that I don't want to use MQI or MQIEB or WBIMB etc. I just want to access the control of the broker which comes with WebSphere MQ V5.3 support pac MA0C (WebSphere MQ (MQSeries) - Publish/Subscribe). I am using IBM MQ standard code base mqjmspub.java and mqjmssub.java for this purpose.

It will be really helpful to me, if you have any clue or solution for this.

Thanks in advance.

Sanks




Supporting publish/subscribe

Other IBM products, including , support publish/subscribe implemented not only with WebSphere MQ, but also with other implementations, such as IP multicast. Those products are beyond the scope of this article.
Back to top
View user's profile Send private message
sanks
PostPosted: Wed Nov 02, 2005 1:32 am    Post subject: Reply with quote

Apprentice

Joined: 21 Mar 2005
Posts: 27

One solution is to use JMS message selector API.
But I don't want to use that. It will put impact on my existing system code base. I just want to do that by means of configuring the MQ pub/sub.
Is there any way to facilitate MQ pub/sub configuration to do the same?

Can any body put light on it?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 02, 2005 3:13 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't do content filtering with the plain MQ Pub/Sub broker. This is one of the value-added features of the Event Broker (which also forms the Pub/Sub engine of Message Broker).

The only thing you can do to change what queue a message gets sent to with the regular MQ Pub/Sub broker is to change the topic you publish the message on.

I don't see why you are trying to use the message ID as anything other than a unique id for the system - but you should look instead at creating a real topic hierarchy, that allows you to publish your messages to the right subscribers.

Or build a single subscriber that then acts as a filter/router that will put messages where they need to go.
_________________
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 Discussion » Content based search thru broker in Pub/Sub scenario.
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.