Author |
Message
|
littlechild |
Posted: Sun Apr 22, 2007 4:46 am Post subject: How to Call MQGet Node dynamically through JCN or ESQL |
|
|
Novice
Joined: 22 Apr 2007 Posts: 17
|
My Senario:-
I have to use 3mqget node and before that there is one jcn.
so, i want to have only one mqget node in flow and call all the 3 on the need basis.
can any grand master help me out for this
 |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Sun Apr 22, 2007 11:35 am Post subject: Re: How to Call MQGet Node dynamically through JCN or ESQL |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
littlechild wrote: |
My Senario:-
I have to use 3mqget node and before that there is one jcn.
so, i want to have only one mqget node in flow and call all the 3 on the need basis.
can any grand master help me out for this
 |
I don't know if I understand you correctly.
I'm not grand master.
In title there is JAVA Compute and ESQL.
In post there is only Java Compute.
My undestanding of your question is "how to process MQGET in flow 3 times having only 1 MQGet node"
You can use for this ESQL PROPAGATE.
I think you can try also propagate method with JAVA Compute.
I hope I understand you correctly. _________________ Marcin |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 23, 2007 12:37 am Post subject: Re: How to Call MQGet Node dynamically through JCN or ESQL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
littlechild wrote: |
My Senario:-
I have to use 3mqget node and before that there is one jcn.
so, i want to have only one mqget node in flow and call all the 3 on the need basis.
can any grand master help me out for this
 |
Picking through your strangely worded query, I think you're trying to replace 3 MQGet nodes with a single MQGet node, defined to read a queue dynamically according to the processing of your JCN.
You can't.
You can set the values of an MQGet dynamically by promoting it but AFAIK they can't be set programatically.
This leads to another important point. As an estemed associate of mine used to say "Grand Master just means 'posts too much'" so don't limit yourself on who you ask for help. There are many "Masters" in here who know much more than I do; they just have less time to answer queries. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 23, 2007 4:30 am Post subject: Re: How to Call MQGet Node dynamically through JCN or ESQL |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Vitor wrote: |
You can't.
You can set the values of an MQGet dynamically by promoting it but AFAIK they can't be set programatically. |
Yes, actually you can, and they can be set programmatically. I answered that question a few days ago. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 23, 2007 4:36 am Post subject: Re: How to Call MQGet Node dynamically through JCN or ESQL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
jefflowrey wrote: |
Vitor wrote: |
You can't.
You can set the values of an MQGet dynamically by promoting it but AFAIK they can't be set programatically. |
Yes, actually you can, and they can be set programmatically. I answered that question a few days ago. |
So you did. I knew the question sounded familiar....
littlechild: behold my point about "Grand Masters" eloquently proved! _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
littlechild |
Posted: Mon Apr 23, 2007 5:57 am Post subject: |
|
|
Novice
Joined: 22 Apr 2007 Posts: 17
|
HEY JEFF,
you might have given solution few day back .....but how can we know to whom you have given that....i cant leave my work and sit here to search for that.....if you have done it previously then it will take few min. to write it again.....i think you can help me ...hope so!!!!  |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 23, 2007 6:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
littlechild wrote: |
i cant leave my work and sit here to search for that |
You don't need to go anywhere; you'll find the "search" button convieniently located at the top right of this page. That's how I determined there was an existing answer to your question.
And given that your original post was Sunday, a few minutes invested searching for the answer would have given you a solution much faster than waiting for us to respond with a pre-existing solution!  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Apr 23, 2007 6:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
littlechild wrote: |
i cant leave my work and sit here to search for that |
It's also worth pointing out that we've left our work to answer you... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
littlechild |
Posted: Mon Apr 23, 2007 9:47 pm Post subject: |
|
|
Novice
Joined: 22 Apr 2007 Posts: 17
|
hi victor thank for reply ........i have tried a lot to search with MQGET NODE,CALL DYNAMICALLY ...and some other but i was not able ...if possible give me link so that i can make use of it ....and also it is urgent for me...
try to help me...
thanks  |
|
Back to top |
|
 |
rajasri |
Posted: Tue Apr 24, 2007 1:02 am Post subject: RE |
|
|
 Centurion
Joined: 11 Jun 2006 Posts: 114
|
Read This:
"The node also creates a default MQ Get Message Options (MQGMO) structure based on the values you have set for the node properties. If an MQGMO is present in the input tree, the node uses its content to modify the default one."
So, to dynamically set the name of the queue in the MQGet node, you will have to include that in your ESQL, by setting the name of queue in ${inputMQParmsLocation}.MQGMO.*.
On MQGet node properties window, in Request tab,specify the value for "Input MQ Parameters Location", in which you need to have MQGMO in your incoming message. This should work.
How is this spoon-feeding?? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Apr 24, 2007 4:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The name of the thread I answered in is "Setting the Queue name of MQ Get node Dynamically". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|