Posted: Wed Sep 14, 2016 7:53 am Post subject: Is there any reserved topic for mqsichangeproperties?
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/#'.
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:
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
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