WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Accessing broker properties from the JavaCompute node

For each broker, WebSphere® Message Broker maintains a set of properties. You can access some of these properties from your Java™ programs. It can be useful, during the run time of your code, to have real-time access to details of a specific node, flow, or broker.

Broker properties are divided into four categories:
  • Properties that relate to a specific node
  • Properties that relate to nodes in general
  • Properties that relate to a message flow
  • Properties that relate to the execution group

Broker properties that are accessible from ESQL and Java includes a table that shows the groups of properties that are accessible from Java. The table also indicates if the properties are accessible from ESQL.

Broker properties have the following characteristics.
  • They are grouped by broker, execution group, flow, and node.
  • They are case sensitive. Their names always start with an uppercase letter.
  • They return NULL if they do not contain a value.
To access broker properties in a JavaCompute node, call methods on the following classes:
  • MbBroker
  • MbExecutionGroup
  • MbMessageFlow
  • MbNode
For example:
String brokerName = getBroker().getName();
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:46:15


Task topicTask topic | Version 8.0.0.7 | ac30210_