Sun Java System Message Queue 4.1 Developer's Guide for JMX Clients

Operations

The producer manager monitor MBean supports the operations shown in Table 3–56. The names of these operations are defined as static constants in the utility class ProducerOperations.

Table 3–56 Producer Manager Monitor Operations

Name 

Parameters 

Result Type 

Description 

getProducerIDs

None 

String[]

Producer identifiers of all current message producers

getProducerInfoByID

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 3–57 for lookup keys used with this object.

getProducerInfo

None 

CompositeData[]

Descriptive information about all current message producers 

The value returned is an array of JMX CompositeData objects describing the producers; see Table 3–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 3–57 are defined as static constants in the utility class ProducerInfo for use with these objects.

Table 3–57 Lookup Keys for Message Producer Information

Name 

Value Type 

Description 

ProducerID

String

Producer identifier

ServiceName

String

Name of associated connection service 

ConnectionID

String

Connection identifier of associated connection

Host

String

Connection's host name 

User

String

Connection's user name 

DestinationName

String

Name of associated destination 

DestinationType

String

Type of associated destination 

See Table 3–58 for possible values.

FlowPaused

Boolean

Message delivery paused?  

NumMsgs

Long

Number of messages sent 

Table 3–58 shows the possible values returned for the lookup key DestinationType. These values are defined as static constants in the utility class DestinationType.

Table 3–58 Message Producer Destination Types

Value 

Utility Constant 

Meaning 

q

DestinationType.QUEUE

Queue (point-to-point) destination 

t

DestinationType.TOPIC

Topic (publish/subscribe) destination