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 » WebSphere Message Broker (ACE) Support » How to Call MQGet Node dynamically through JCN or ESQL

Post new topic  Reply to topic
 How to Call MQGet Node dynamically through JCN or ESQL « View previous topic :: View next topic » 
Author Message
littlechild
PostPosted: Sun Apr 22, 2007 4:46 am    Post subject: How to Call MQGet Node dynamically through JCN or ESQL Reply with quote

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
View user's profile Send private message
marcin.kasinski
PostPosted: Sun Apr 22, 2007 11:35 am    Post subject: Re: How to Call MQGet Node dynamically through JCN or ESQL Reply with quote

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
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Mon Apr 23, 2007 12:37 am    Post subject: Re: How to Call MQGet Node dynamically through JCN or ESQL Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 23, 2007 4:30 am    Post subject: Re: How to Call MQGet Node dynamically through JCN or ESQL Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 23, 2007 4:36 am    Post subject: Re: How to Call MQGet Node dynamically through JCN or ESQL Reply with quote

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
View user's profile Send private message
littlechild
PostPosted: Mon Apr 23, 2007 5:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 23, 2007 6:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Apr 23, 2007 6:05 am    Post subject: Reply with quote

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
View user's profile Send private message
littlechild
PostPosted: Mon Apr 23, 2007 9:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
rajasri
PostPosted: Tue Apr 24, 2007 1:02 am    Post subject: RE Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 24, 2007 4:57 am    Post subject: Reply with quote

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
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 » WebSphere Message Broker (ACE) Support » How to Call MQGet Node dynamically through JCN or ESQL
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.