Author |
Message
|
eejar |
Posted: Fri Aug 05, 2011 6:01 am Post subject: How to set queue name in the esql |
|
|
Novice
Joined: 05 Aug 2011 Posts: 14
|
hai friends,
I)How- Do not set queue name in property field of the mqoutput node set it in esql code.? if out puts r two means then how to set it do? |
|
Back to top |
|
 |
WGerstma |
Posted: Fri Aug 05, 2011 6:19 am Post subject: |
|
|
Acolyte
Joined: 18 Jul 2011 Posts: 55
|
Use a DestinationList for yur purpose |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 05, 2011 6:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
eejar |
Posted: Fri Aug 05, 2011 6:47 am Post subject: Re: How to set queue name in the esql |
|
|
Novice
Joined: 05 Aug 2011 Posts: 14
|
eejar wrote: |
hai friends,
I)How- Do not set queue name in property field of the mqoutput node set it in esql code.? if out puts r two means then how to set it do? |
OK I WILL SET THE OUT PUT PROPERTIES AT DESTINATION MODE AS DESTINATION LIST ;
THEN WHAT ABOUT ESQL CODE FOR THAT QUEUE NAME TO WRITE IN THE COMPUTE NODE AT BEFORE OUT PUT NODE . BECAUSE HERE I HAVE TO OUT PUT NODES FOR ME BOTH HAVE TO GET THE MESSAGE .
PLS TELL ME CODE FOR THAT
BELOW TAG IS NOT WORKING IF U KNOW CORRECT IT PLS
SET OutputLocalEnvironment.Destination.MQ.DestinationData[0].queueName ='OUT';
propaget;
SET OutputLocalEnvironment.Destination.MQ.DestinationData[0].queueName ='OUT2';
propagate to terminal 'out1'; |
|
Back to top |
|
 |
WMBDEV1 |
Posted: Fri Aug 05, 2011 7:07 am Post subject: Re: How to set queue name in the esql |
|
|
Sentinel
Joined: 05 Mar 2009 Posts: 888 Location: UK
|
Dont use caps its considered shouting.
eejar wrote: |
PLS TELL ME CODE FOR THAT
BELOW TAG IS NOT WORKING IF U KNOW CORRECT IT PLS
|
Do you think we are here to do your job for you?
Can you elaborate on what not working means?
What is that meant to mean? or is that you being too lazy to copy and paste the code you are actually running?
How does your code compare to the very first example in Jeffs link? There are no "propagets" in there. What made you think you needed a propagate in this example?
Please show some effort on your part else be prepared for one of Lancelots soapbox style posts (and not the one about singletons). |
|
Back to top |
|
 |
WGerstma |
Posted: Fri Aug 05, 2011 7:29 am Post subject: |
|
|
Acolyte
Joined: 18 Jul 2011 Posts: 55
|
Remember after a Propgate your OutputRoot is emptied and you have to populate it again. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Aug 05, 2011 8:20 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
WGerstma wrote: |
Remember after a Propgate your OutputRoot is emptied and you have to populate it again. |
You can prevent that.
You can also (in the example posted) eliminate the propagate completely. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
WGerstma |
Posted: Fri Aug 05, 2011 9:30 am Post subject: |
|
|
Acolyte
Joined: 18 Jul 2011 Posts: 55
|
Vitor wrote: |
You can prevent that.
|
Yes, mit DELETE NONE, but this was not part of the Pseudo Code |
|
Back to top |
|
 |
Vitor |
Posted: Fri Aug 05, 2011 9:35 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
WGerstma wrote: |
Vitor wrote: |
You can prevent that.
|
Yes, mit DELETE NONE, but this was not part of the Pseudo Code |
It was not & your point was valid.
I was attempting to clarify for the benefit of future readers that this is not a fixed behaviour. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|