|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Compute Node,ESQL |
« View previous topic :: View next topic » |
Author |
Message
|
george777888 |
Posted: Wed Apr 25, 2018 2:43 am Post subject: Compute Node,ESQL |
|
|
Newbie
Joined: 25 Apr 2018 Posts: 4
|
Hi guys ,
I have HttpInput_Node(XMLNSC message domain)-->ComputeNode-->HTTPReply.
While sending a message ,for e.g, <request>1</request> ,and want to *caught* this expression in Compute Node using ESQL language ,but don't know how ,and afterwards make statement ,IF request is 1 => OK , reply=>OK, ELSE -->KO.
Could you give me any advices or ideas how to perfom it with ESQL ? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 25, 2018 5:02 am Post subject: Re: Compute Node,ESQL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
george777888 wrote: |
want to *caught* this expression in Compute Node using ESQL language |
Why?
george777888 wrote: |
Could you give me any advices or ideas how to perfom it with ESQL ? |
Yes - don't.
Use the Catch terminal on the HTTPInput node or put a Try/Catch node in front of the Compute node.
Then code ESQL to handle the logic you outline. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
george777888 |
Posted: Wed Apr 25, 2018 6:05 am Post subject: Re: Compute Node,ESQL |
|
|
Newbie
Joined: 25 Apr 2018 Posts: 4
|
Vitor wrote: |
george777888 wrote: |
want to *caught* this expression in Compute Node using ESQL language |
Why?
|
Pretty much good question,why.
The logic that I've "got" is to perfrom authentication process ,using hard coded credentials pre-defined in ESQL node -->wired with HTTReply.
Every time ,when we send <request>message</request> from HTTPInput (username+password),using the XMLNSC message domain ,to Compute Node ,it has to *recieve request* and validate (using ESQL code) ,giving proper HTTP_REPLY or 200 or 201.
Quote: |
Yes - don't.
Use the Catch terminal on the HTTPInput node or put a Try/Catch node in front of the Compute node.
Then code ESQL to handle the logic you outline. |
Will try.Thanks for advice . |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 25, 2018 6:27 am Post subject: Re: Compute Node,ESQL |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
george777888 wrote: |
Pretty much good question,why. |
I meant more "why" in the sense of "why ESQL rather than a Catch terminal"?
Good luck. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|