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 » Is there any reserved topic for mqsichangeproperties?

Post new topic  Reply to topic
 Is there any reserved topic for mqsichangeproperties? « View previous topic :: View next topic » 
Author Message
Rix
PostPosted: Wed Sep 14, 2016 7:53 am    Post subject: Is there any reserved topic for mqsichangeproperties? Reply with quote

Newbie

Joined: 01 Apr 2014
Posts: 3

Is there any reserved topic for mqsichangeproperties?
I am trying to capture in a topic/subscription if an UserDefined Configurable Property is being changed at runtime (runtime of the broker). I already am picking the UserDefined Configurable Property when the application is deployed (with a $SYS topic), but I can't find anything that triggers any topic.
I tried many topics, including '$SYS/Broker/{BrokerName}/#' and even '$SYS/#'.

Thank you for your time.
Back to top
View user's profile Send private message
Craig B
PostPosted: Mon Sep 19, 2016 10:49 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

Unfortunately no publications are made when a configurable service is changed. The integration servers (execution groups) will publish notifications when deployed resources are created/changed/delete/started/stopped. However, configurable services are a broker level resource that are managed by the Administration component (bipbroker process). Unfortunately this process only publishes two configuration related events and that is the starting/stopping of the broker.

The only way to get an external notification that a configurable service has changed is to implement an Integration API application. A configurable service change is reflected as a BrokerProxy level change. So the Integration API application would have to use BrokerProxy object and then call registerListener() passing in an AdvancedAdministeredObjectListener or an AdvancedObjectListener instance. The listener could then implement processModify to catch when attributes are changed on the Broker level. When a configurable service is changed you will see properties changing such as:

affectedObject = MQSI_BROKER
(Changed attribute) "ConfigurableServiceProperty/UserDefined/myUserDefinedCS2/property1" = "an updated value"
(Deleted attribute) "ConfigurableServiceProperty/UserDefined/myUserDefinedCS2"

If you want to go down this route then you can use the Integration API exerciser as an example. One V10, open a console window and go into the server\sample\IntegrationAPI directory and run the StartIntegrationAPIExerciser.bat file. Once launched, connect to the Broker and the broker explorer tree will be displayed. If you now modify a configurable service from the command line you will see the Exerciser bottom pane show the updates. The code for the Integration API exerciser iapi\exerciser directory.
_________________
Regards
Craig
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 » Is there any reserved topic for mqsichangeproperties?
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.