Author |
Message
|
rajbuddha |
Posted: Thu Oct 27, 2011 5:37 am Post subject: MQ message Routing |
|
|
 Apprentice
Joined: 02 Aug 2011 Posts: 47 Location: chennai
|
Hi All ,
I have a scenario , When ever message is being placed by an application it needs to be send to two or three different queues , I was asked to develop a message flow which will be listening the same queue for this scenario. Can we do the same with any queue level configurations with out using any flow ??? Please suggest me _________________ -----------
Raju Buddha
Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One... |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 27, 2011 5:39 am Post subject: Re: MQ message Routing |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rajbuddha wrote: |
Can we do the same with any queue level configurations with out using any flow ??? |
Yes. Change the sending application to publish the message rather than put it, & set up the subscriptions you need to distribute it.
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
rajbuddha |
Posted: Thu Oct 27, 2011 5:44 am Post subject: MQ message Routing |
|
|
 Apprentice
Joined: 02 Aug 2011 Posts: 47 Location: chennai
|
Hi vitor ,
Thanks for your response .
The sending application is not MB , It is SAP . And that to changes are recomended at Integration level only (MB , MQ ) , Is there any other way to send using MQ after getting the message to the queue ??? _________________ -----------
Raju Buddha
Never Wait for your 2nd Opportunity..!Becoz it may be harder than the 1st One... |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 27, 2011 5:47 am Post subject: Re: MQ message Routing |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
rajbuddha wrote: |
Is there any other way to send using MQ after getting the message to the queue ??? |
You can't send the same message to WMQ twice like that.
If you're using v7 you might be able to achieve this without changing the app (I don't know SAP that well) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Oct 27, 2011 6:16 am Post subject: Re: MQ message Routing |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
rajbuddha wrote: |
Is there any other way to send using MQ after getting the message to the queue ??? |
 |
Vitor wrote: |
You can't send the same message to WMQ twice like that.
If you're using v7 you might be able to achieve this without changing the app (I don't know SAP that well) |
SAP in this case is just an MQ application. This question is "how do I mirror a queue".
 |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Oct 27, 2011 6:23 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
Change the destination queue to a TOPIC. Create the definitions that cause the inbound message to go to two queues.
Search here for topic+duplicating messages... something like that. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Oct 27, 2011 6:29 am Post subject: Re: MQ message Routing |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
This question is "how do I mirror a queue".
|
Yes, but I didn't want to walk down that road with this OP. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Oct 27, 2011 7:04 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
I knew that. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Oct 27, 2011 7:49 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
bruce2359 wrote: |
Change the destination queue to a TOPIC. Create the definitions that cause the inbound message to go to two queues.
Search here for topic+duplicating messages... something like that. |
if it's only the content of the message you are interested in... that'll work... if you also need the original context then you are out of luck... _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Oct 27, 2011 8:09 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
Good point.
If the exact message (MQMD and application data) must be replicated (violating the 'no duplicate MsgIds' precept), then a user-written app can MQGET the inbound message and MQPUT it to two queues with SAVE_ALL and PASS_ALL context. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|