|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Setting the queue name in MQInput node dynamically |
« View previous topic :: View next topic » |
Author |
Message
|
smdavies99 |
Posted: Wed May 12, 2010 9:36 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I really think that most of this debate could have been solved by the poster doing the following
Code: |
> runmqsc <qmgrname>
def QL(TEST.QL) replace
def QA(TEST.QA) targq(TEST.QL) replace
end
> amqsput <qmname> TEST.QA
Hello World
> amqsput <qmname> TEST.QL
Hello Again
> amqsget <qmname> TEST.QA
Hello World
Hello Again
>
|
Pretty simple and would only take a minute or two.
A little experimentation reveals many wonderful answers. _________________ 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 |
|
 |
krypton |
Posted: Wed May 12, 2010 4:40 pm Post subject: |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
Quote: |
I really think that most of this debate could have been solved by the poster doing the following
Code:
> runmqsc <qmgrname>
def QL(TEST.QL) replace
def QA(TEST.QA) targq(TEST.QL) replace
end
> amqsput <qmname> TEST.QA
Hello World
> amqsput <qmname> TEST.QL
Hello Again
> amqsget <qmname> TEST.QA
Hello World
Hello Again
>
Pretty simple and would only take a minute or two.
A little experimentation reveals many wonderful answers |
Thanks smdavies, yes its true mostly experiments brings out the truth in theory. _________________ Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep. |
|
Back to top |
|
 |
ar.mm |
Posted: Tue Sep 01, 2015 1:05 am Post subject: |
|
|
Newbie
Joined: 01 Sep 2015 Posts: 2
|
Hi,
Alias Queue is perfect approach, but I'm wondering if there is a way where the message flow can know from which Alias Queue the message came? If I set the local queue in MQInput node, then it will treat all messgaes as if they ware coming from single queue, I need the flow to distinguish the source application which sending to a specific alies queue that resolves to the queue used in MQInput node.
Thanks. |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Sep 01, 2015 1:28 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
ar.mm wrote: |
Hi,
Alias Queue is perfect approach, but I'm wondering if there is a way where the message flow can know from which Alias Queue the message came? If I set the local queue in MQInput node, then it will treat all messgaes as if they ware coming from single queue, I need the flow to distinguish the source application which sending to a specific alies queue that resolves to the queue used in MQInput node.
Thanks. |
Please don't post the same question in more than one thread.
You could always open a new thread and reference the old threads. but that is too late now. _________________ 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 |
|
 |
fjb_saper |
Posted: Tue Sep 01, 2015 7:52 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
ar.mm wrote: |
Hi,
Alias Queue is perfect approach, but I'm wondering if there is a way where the message flow can know from which Alias Queue the message came? If I set the local queue in MQInput node, then it will treat all messgaes as if they ware coming from single queue, I need the flow to distinguish the source application which sending to a specific alies queue that resolves to the queue used in MQInput node.
Thanks. |
Look at the request / reply model.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|