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 Installation/Configuration Support » Message filtering and routing

Post new topic  Reply to topic
 Message filtering and routing « View previous topic :: View next topic » 
Author Message
biruk
PostPosted: Fri Feb 05, 2016 4:05 am    Post subject: Message filtering and routing Reply with quote

Novice

Joined: 31 Mar 2010
Posts: 14

Hi all,

I have a problem and I need your help to identify the best solution.
We have an third-party application (App1) which put MQ messages to one of our queues (App2_Input_Queue) and get messages from another.
Another internal application read these messages and process them (App2).

Now this internal application will be replaced by two different solutions (App3 and App4), which need to read messages from the input queue (App2_Input_Queue).
Messages received into queue are XML and have different headers.

I need a solution to distribute these message to other queues, add a filter or routing policy, based on the data from header, in order to receive them into two news queues (App3_Input_Queue and App4_Input_Queue).

I found something regarding publish\subscribe, but our MQ is not configured so.
Can this be done using an MQ configuration or we need another application to do that?

Unfortunate, there is no chance to modify or configure App1 to put the messages into two separate queues .

I try to find something here, on other post, even if that search is not working, but found nothing.

Regards,
Biruk.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Feb 05, 2016 5:21 am    Post subject: Re: Message filtering and routing Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

biruk wrote:
Can this be done using an MQ configuration or we need another application to do that?


You need an application, or IIB if that's available.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Feb 05, 2016 5:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Anything that requires making decisions or otherwise processing any part of the message data (including the MQMD and etc) must be handled by an application.

MQ can only route based on either topic or the queue name/queue manager name.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri Feb 05, 2016 9:53 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
Location: London, ON Canada

Hi,

A long time ago, I had the same problem - XML payload and the messages needed to be distributed. So, I created the Message Router open source project.

Follow the instructions for setting the XML search keywords (start & end) and relate those to queue names. Finally, set it up as an MQ Service and it will route the messages to the appropriate queues.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
biruk
PostPosted: Tue Feb 09, 2016 3:50 am    Post subject: Reply with quote

Novice

Joined: 31 Mar 2010
Posts: 14

Hi,

Isn't the any tool/exe from IBM already build, that can do the same on queue level ?

Regards,
Biruk.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 09, 2016 5:10 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

biruk wrote:
Isn't the any tool/exe from IBM already build, that can do the same on queue level ?




IIB.


_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 09, 2016 5:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What does it mean "at the queue level" ?

If the routing of messages is determined by the content of the message, again, you need something that can read and process the messages.

IIB is excellent for this.

If the routing of the message is determined by something that's not actually in the message, you can use pub/sub.
_________________
chmod -R ugo-wx /
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 Installation/Configuration Support » Message filtering and routing
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.