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 » event monitoring

Post new topic  Reply to topic
 event monitoring « View previous topic :: View next topic » 
Author Message
sai kumar adduri
PostPosted: Wed Jul 03, 2013 9:36 am    Post subject: event monitoring Reply with quote

Acolyte

Joined: 04 Apr 2013
Posts: 73

I want to create a failure event in the Msgflow and capture the Failure event with the Exception details and I need capture the exact
failure reason from the RecoverableException .
so I need to modify the "EventPayload" while creating the Failure events.


How do I write an Xpath expression for this
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jul 03, 2013 9:49 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Did you try Google?

http://publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0/topic/com.ibm.etools.mft.doc/ak64910_.htm

Code:
The XPath Expression Builder helps you to construct message processing expressions in either XPath or ESQL. You are free to enter expressions by hand, or use the XPath Expression Builder to help construct such expressions.

_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
sai kumar adduri
PostPosted: Mon Jul 08, 2013 6:20 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2013
Posts: 73

how do i traverse through the exception list, because it will be dynamically increasing . is it possible with X-Path
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jul 08, 2013 6:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

sai kumar adduri wrote:
how do i traverse through the exception list, because it will be dynamically increasing . is it possible with X-Path


Yes, its possible. ESQL is a better choice. If you attend the training or read the InfoCentre, you will find out how to traverse a dynamic Logical Message Tree.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Mon Jul 08, 2013 8:43 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

lancelotlinc wrote:
sai kumar adduri wrote:
how do i traverse through the exception list, because it will be dynamically increasing . is it possible with X-Path


Yes, its possible. ESQL is a better choice. If you attend the training or read the InfoCentre, you will find out how to traverse a dynamic Logical Message Tree.

Only ESQL is not a choice while defining an event. The OP will have to use X-Path.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sai kumar adduri
PostPosted: Tue Jul 09, 2013 12:22 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2013
Posts: 73

yes exactly , how do we do this with x path(loop through the exception list)
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jul 09, 2013 3:09 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

fjb_saper wrote:
lancelotlinc wrote:
sai kumar adduri wrote:
how do i traverse through the exception list, because it will be dynamically increasing . is it possible with X-Path


Yes, its possible. ESQL is a better choice. If you attend the training or read the InfoCentre, you will find out how to traverse a dynamic Logical Message Tree.

Only ESQL is not a choice while defining an event. The OP will have to use X-Path.


I'm not sure I follow you saper. You mean THROW keyword does not work in ESQL?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
sai kumar adduri
PostPosted: Tue Jul 09, 2013 3:25 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2013
Posts: 73

I need to write an x path expression in event monitoring ,in event pay load , to capture error text from the exception tree , Is It possible to do this with x path , not by esql .
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jul 09, 2013 3:36 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

@lancelotinc : The OP is configuring Monitoring Events on the node properties. He/she is specifying some additional data which is to be extracted from the message assembly and included with the monitoring event.
The monitoring properties page allows the paths to the additional data to be specified as a list of XPaths ( ESQL path reference syntax is also allowed ). So the ESQL THROW statement is not an option.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jul 09, 2013 4:06 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Thanks for the clarification.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
sai kumar adduri
PostPosted: Tue Jul 09, 2013 4:23 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2013
Posts: 73

great ,exactly this is what i need to do

but how to do this , Is there any solution for this
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jul 09, 2013 5:37 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
how do i traverse through the exception list, because it will be dynamically increasing . is it possible with X-Path
XPath is a declarative language. You do not write loops - you write an XPath query the describes the data that you want to extract.
If you want all of the data in the ExceptionList, then why not simple include all of the ExceptionList tree in the event?
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 » event monitoring
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.