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 » How to specify arbitrary string in XPATH for monitoring

Post new topic  Reply to topic
 How to specify arbitrary string in XPATH for monitoring « View previous topic :: View next topic » 
Author Message
lium
PostPosted: Tue Oct 29, 2013 7:43 am    Post subject: How to specify arbitrary string in XPATH for monitoring Reply with quote

Disciple

Joined: 17 Jul 2002
Posts: 184

I want to use the monitoring feature of message broker.
For every CBE(common based event) message, I want to specify a description in the event payload so that the operator will know what is about the CBE message.

The question is:
Does message broker support this?

When I try to add the event payload through XPATH, it will always require the expression starting with XPATH variable such as $Root, $Environment etc.

Could any one confirm if the message broker allows me to do this and how to do this?

Thanks
Back to top
View user's profile Send private message
Esa
PostPosted: Tue Oct 29, 2013 12:02 pm    Post subject: Re: How to specify arbitrary string in XPATH for monitoring Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

If I understood correcly what you want, I think you can add an arbitrary field from the payload and put the description in the name attribute. At least if you are using a monitoring profile:

Code:
<p:simpleContent p:dataType="string" p:name="theDescriptionYouNeed" p:targetNamespace="">
                <p:valueQuery p:queryText="$Body/SomeExistingField"/>
            </p:simpleContent>
Back to top
View user's profile Send private message
Simbu
PostPosted: Tue Oct 29, 2013 9:13 pm    Post subject: Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

Please check the Example Event message in InfoCenter.

http://pic.dhe.ibm.com/infocenter/wmbhelp/v9r0m0/topic/com.ibm.etools.mft.doc/ac60386_.htm

We can use

Quote:
<wmb:eventCorrelation wmb:localTransactionId="123"
wmb:parentTransactionId="456"
wmb:globalTransactionId="789"/>


Or

Quote:
<wmb:simpleContent wmb:name="invoiceNo" wmb:targetNamespace=""
wmb:dataType="string" wmb:value="567"/>
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 » How to specify arbitrary string in XPATH for 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.