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 » Can we retreive errors from error log via Message brok ESQL?

Post new topic  Reply to topic
 Can we retreive errors from error log via Message brok ESQL? « View previous topic :: View next topic » 
Author Message
rajparekh08
PostPosted: Fri Nov 06, 2009 2:03 am    Post subject: Can we retreive errors from error log via Message brok ESQL? Reply with quote

Acolyte

Joined: 21 Sep 2009
Posts: 58
Location: India- Bagalore

Hi,
I have a HTTPInput node, followed by a Validate node.
The Validate node is configured to a message set.
The requirement is that if there is a mismatch betweetn the requeste message and the message set, then the error logs need to be looked up, and the error retrevied, and a suitable reply message be formed and sent to the HTTP requester.
Is the above possible? If so how??
Alternatively, a I have a messge put in a queue(SYSTEM.BROKER.WS.REPLY), everytime there is a mismatch in the message set. This message is not perssistant, but I am unable to pull out a message from this queue, as this is a System queue.
any suggestion??
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
elvis_gn
PostPosted: Fri Nov 06, 2009 5:06 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi rajparekh08,

So you have a HTTPInput node but you are validating the request in another validate node...why ? Why aren't you doing it on the HTTPInput ?

Why is the validation against msgSet not throwing errors which you can anyway catch and use to create and appropriate response ?

Regards.
Back to top
View user's profile Send private message Send e-mail
rajparekh08
PostPosted: Fri Nov 06, 2009 5:40 am    Post subject: Reply with quote

Acolyte

Joined: 21 Sep 2009
Posts: 58
Location: India- Bagalore

elvis_gn wrote:
Hi rajparekh08,

So you have a HTTPInput node but you are validating the request in another validate node...why ? Why aren't you doing it on the HTTPInput ?

Why is the validation against msgSet not throwing errors which you can anyway catch and use to create and appropriate response ?

Regards.

HI
1. Because HTTPInput node and SCADAInput node, discard the message when a exception is generated.
2. Because I need to send a Fault code, stating the exact fault, which can be understood by a layman, coz eventually this will be used by application team who are not aware of WMB fault codes.
Henc I need to capture the message(if possible) or format a response message, which would only contain the exact fault detail
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
sirsi
PostPosted: Fri Nov 06, 2009 6:14 am    Post subject: Reply with quote

Disciple

Joined: 11 Mar 2005
Posts: 177

if I understand you properly...
if an error occurs in the flow, u should be able to catch it in catch terminal with the errorDesc in ExceptionList, u can create a fault reply and send only the desc part...

if u dont catch the error, the httpinput node will return the error as defined in Fault format property
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Fri Nov 06, 2009 7:11 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi rajparekh08,
rajparekh08 wrote:
HI
1. Because HTTPInput node and SCADAInput node, discard the message when a exception is generated.
2. Because I need to send a Fault code, stating the exact fault, which can be understood by a layman, coz eventually this will be used by application team who are not aware of WMB fault codes.
Henc I need to capture the message(if possible) or format a response message, which would only contain the exact fault detail
I don't think IBM could have ever sold WMB if the HTTP/SOAP nodes discarded request messages.

As sirsi suggests, put a trace node connected to the catch of the HTTP and see what options you have for a fault reply.

And get some training.

Regards.
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Sun Nov 08, 2009 7:50 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

elvis_gn wrote:
Hi rajparekh08,
rajparekh08 wrote:
HI
1. Because HTTPInput node and SCADAInput node, discard the message when a exception is generated.
2. Because I need to send a Fault code, stating the exact fault, which can be understood by a layman, coz eventually this will be used by application team who are not aware of WMB fault codes.
Henc I need to capture the message(if possible) or format a response message, which would only contain the exact fault detail
I don't think IBM could have ever sold WMB if the HTTP/SOAP nodes discarded request messages.



AFAIK, no input node discards the message when any validation error is thrown...

the reason why one may use validate node is, if a validation error occurs at the input node then we may not be able to get the complete message.... only the structure which was parsed so far with exception goes to further terminal....
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Can we retreive errors from error log via Message brok 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.