Author |
Message
|
aradha |
Posted: Thu Dec 31, 2009 4:48 am Post subject: How to get messg |
|
|
Apprentice
Joined: 16 Dec 2008 Posts: 45
|
Hi
This is the flow i am using,can anybody help me, how to get diff messgs on diff multiple QUEUES throw this flow which is connected only one o/p Q.
Inputnode---->ComputeNode----->Outputnode
Any ideas????????
aradha |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Dec 31, 2009 5:40 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Alias Queues?
Multiple InputNodes?
What have you tried? What errors? etc. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
aradha |
Posted: Thu Dec 31, 2009 6:15 am Post subject: |
|
|
Apprentice
Joined: 16 Dec 2008 Posts: 45
|
Alias queues?????I don't have idea how to set this???
I tried in ESQL
i.e
localenvironment.destination.mq.destinationdata.queuename='TEST'
Is this correct way?????
can u tell by using ESQL how can we send the multiple messgs to diff Queues,if flow is connected to only one output node. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 31, 2009 6:23 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
aradha wrote: |
Alias queues?????I don't have idea how to set this??? |
It's not a complex thing. Try looking them up.
aradha wrote: |
I tried in ESQL
i.e
localenvironment.destination.mq.destinationdata.queuename='TEST'
Is this correct way????? |
It's the correct way to send a single message to an ESQL-defined queue name.
aradha wrote: |
can u tell by using ESQL how can we send the multiple messgs to diff Queues,if flow is connected to only one output node. |
Well you could try reading the WMB documentation that describes what your ESQL code is actually doing. That would help. Or you could use pub/sub rather than simple queue output. Or any of the other methods described in this forum over the years.
You might also want to check your keyboard - the ? key seems to be sticking.......  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Dec 31, 2009 8:21 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You might also investigate what the ESQL meaning of [] is, and how that applies to localenvironment.destination |
|
Back to top |
|
 |
aradha |
Posted: Thu Dec 31, 2009 9:52 am Post subject: |
|
|
Apprentice
Joined: 16 Dec 2008 Posts: 45
|
Hi vitor
I know tht we have option pub/sub but i want to try through the ESQL
in compute node.......as i am trying now......... |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 31, 2009 10:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
aradha wrote: |
I know tht we have option pub/sub but i want to try through the ESQL
in compute node.......as i am trying now......... |
Then I recommend you follow my other suggestion, as endorsed by others
Or follow your own sugestion in this thread and use a WMQ cluster to get multiple copies. Though I remain unconvinved of this method....  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Dec 31, 2009 6:04 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor wrote: |
Or follow your own sugestion in this thread and use a WMQ cluster to get multiple copies. Though I remain unconvinved of this method....  |
But that (clustering to multiple subscribers on different qmgr) would only work with MQ7 pub/sub... right?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Vitor |
Posted: Sat Jan 02, 2010 8:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
fjb_saper wrote: |
Vitor wrote: |
Or follow your own sugestion in this thread and use a WMQ cluster to get multiple copies. Though I remain unconvinved of this method....  |
But that (clustering to multiple subscribers on different qmgr) would only work with MQ7 pub/sub... right?  |
I don't think it would work even then ( as I indicated on the other thread). But as the poster suggested it, clearly he has some insight into it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
aradha |
Posted: Sat Jan 02, 2010 9:04 pm Post subject: |
|
|
Apprentice
Joined: 16 Dec 2008 Posts: 45
|
I am trying this through ESQL so any more solutions????? |
|
Back to top |
|
 |
smdavies99 |
Posted: Sun Jan 03, 2010 3:33 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
The hint that mqjeff gave should be all you need to know.
well, almost.
You have to configure the MQOutput node properly to use the information in the OutputLocalEnvironment tree.
Everything you need is in the Documentation OR in other posts on this forum if you search for them. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|