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 IndexWebSphere Message Broker SupportCompute Node,ESQL

Post new topicReply to topic
Compute Node,ESQL View previous topic :: View next topic
Author Message
george777888
PostPosted: Wed Apr 25, 2018 2:43 am Post subject: Compute Node,ESQL Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Apr 25, 2018 5:02 am Post subject: Re: Compute Node,ESQL Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25250
Location: Ohio, 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
View user's profile Send private message
george777888
PostPosted: Wed Apr 25, 2018 6:05 am Post subject: Re: Compute Node,ESQL Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Apr 25, 2018 6:27 am Post subject: Re: Compute Node,ESQL Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 25250
Location: Ohio, 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
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportCompute Node,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.