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 » Need to disable monitoring events run time automatically

Post new topic  Reply to topic
 Need to disable monitoring events run time automatically « View previous topic :: View next topic » 
Author Message
muthu121521
PostPosted: Fri Jan 13, 2017 10:37 am    Post subject: Need to disable monitoring events run time automatically Reply with quote

Apprentice

Joined: 31 Aug 2015
Posts: 36

We have a requirement to disable the monitoring events when we are retrying to consume the back end service
We are setting the shared variable but we are not sure how to access the shared variable in the xpath build expression on event filter feature ?
has any one already implemented it ?
Back to top
View user's profile Send private message
adubya
PostPosted: Fri Jan 13, 2017 11:00 am    Post subject: Reply with quote

Partisan

Joined: 25 Aug 2011
Posts: 377
Location: GU12, UK

Can't you perform the filtering in whatever downstream system is using the monitoring data ?
_________________
Independent Middleware Consultant
andy@knownentity.com
Back to top
View user's profile Send private message Send e-mail
neeeelus
PostPosted: Fri Jan 13, 2017 12:20 pm    Post subject: Re: Need to disable monitoring events run time automatically Reply with quote

Novice

Joined: 28 Jul 2008
Posts: 12

muthu121521 wrote:
We have a requirement to disable the monitoring events when we are retrying to consume the back end service ?

Can you elaborate more on this?
muthu121521 wrote:
We are setting the shared variable but we are not sure how to access the shared variable in the xpath build expression on event filter feature ??

Shared Variables cant be accessed using xpath in monitoring profiles
muthu121521 wrote:
has any one already implemented it ?

Tried and failed to get the shared variable, what you can do is set the shared variable to environment and you can access that environment variable in xpath
_________________
Thanks & Regards,
Neeeelu.
Back to top
View user's profile Send private message Yahoo Messenger
muthu121521
PostPosted: Tue Jan 17, 2017 12:48 pm    Post subject: Reply with quote

Apprentice

Joined: 31 Aug 2015
Posts: 36

//Tried and failed to get the shared variable, what you can do is set the shared variable to environment and you can access that environment variable in xpath//
I tried this option
when i tried to implement this option it is giving me the warning message

I set an environment variable called EventFilterFlag ,even this is giving me the below warning message

Event Filter: The FALSE element in XPath contains($Environment/Variables/EventFilterFlag,FALSE) was not found in the XML Schema.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 17, 2017 12:56 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

muthu121521 wrote:
Event Filter: The FALSE element in XPath contains($Environment/Variables/EventFilterFlag,FALSE) was not found in the XML Schema.


Which it isn't. So the Toolkit gives you a warning.

If it should be in the schema then the warning is an indication you need to check your spelling. If it's not (as here) then you need to test it to see if you've spent it right.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
muthu121521
PostPosted: Tue Jan 17, 2017 1:13 pm    Post subject: Reply with quote

Apprentice

Joined: 31 Aug 2015
Posts: 36

I have tested it and i have verified the variable $Environment/Variables/EventFilterFlag , its being set and i am able to see the value as false in debug , but the issue is we are not able to see any emits being emitted and captured in the data store at all ?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 17, 2017 1:18 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

muthu121521 wrote:
its being set and i am able to see the value as false in debug , but the issue is we are not able to see any emits being emitted and captured in the data store at all ?


User trace. The debugger can see it but can the runtime? What does the trace say when it's trying to resolve it?
_________________
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 topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Need to disable monitoring events run time automatically
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.