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
See information about the latest product version
Accessing broker properties from the PHPCompute node
For each broker, WebSphere® Message Broker maintains a set of properties, and you can access some of these properties from the PHP code associated with a PHPCompute node. You can have real-time access to details of a specific node, flow, or broker.
Four categories of broker
property exist, which relate to:
- A specific node
- Nodes in general
- A message flow
- An execution group
Broker properties:
- Are grouped by broker, execution group, flow, and node
- Are case sensitive. Their names always start with an uppercase letter
- Return NULL if they do not contain a value
The use of the MB_* array indexes in the $_ENV array is deprecated. Use the $_MB array instead:
Broker property | PHP variable |
---|---|
Work Path | $_MB['WORK_PATH'] |
Broker Name (label) | $_MB['BROKER_NAME'] |
Execution Group Name (label) | $_MB['EXECUTION_GROUP_NAME'] |
Node Name (label) | $_MB['NODE_NAME'] |
Message Flow Name (label) | $_MB['MESSAGE_FLOW_NAME'] |
Script Name | $_MB['SCRIPT_NAME'] |