The producer manager monitor MBean supports the operations shown in Table 2–56. The names of these operations are defined as static constants in the utility class ProducerOperations.
Table 2–56 Producer Manager Monitor Operations
Name |
Parameters |
Return Type |
Description |
---|---|---|---|
None |
String[] | ||
producerID (String) |
CompositeData |
Descriptive information about message producer The desired producer is designated by its producer identifier (producerID). The value returned is a JMX CompositeData object describing the producer; see Table 2–57 for lookup keys used with this object. |
|
None |
CompositeData[] |
Descriptive information about all current message producers The value returned is an array of JMX CompositeData objects describing the producers; see Table 2–57 for lookup keys used with these objects. |
The getProducerInfoByID and getProducerInfo operations return objects implementing the JMX interface CompositeData, which maps lookup keys to associated data values. The keys shown in Table 2–57 are defined as static constants in the utility class ProducerInfo for use with these objects.
Table 2–57 Lookup Keys for Message Producer Information
Name |
Value Type |
Description |
---|---|---|
String | ||
String |
Name of associated connection service |
|
ConnectionID |
String | |
String |
Connection's host name |
|
String |
Connection's user name |
|
String |
Name of associated destination |
|
String |
Type of associated destination See Table 2–58 for possible values. |
|
Boolean |
Message delivery paused? |
|
Long |
Number of messages sent |
Table 2–58 shows the possible values returned for the lookup key DestinationType. These values are defined as static constants in the utility class DestinationType.
Table 2–58 Message Producer Destination Types
Value |
Utility Constant |
Meaning |
---|---|---|
Queue (point-to-point) destination |
||
Topic (publish/subscribe) destination |