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

Attributes

The destination manager configuration MBean has the attributes shown in Table 3–44. The names of these attributes are defined as static constants in the utility class DestinationAttributes.

Table 3–44 Destination Manager Configuration Attributes

Name 

Type 

Settable? 

Description 

AutoCreateQueues

Boolean

Yes 

Allow auto-creation of queue destinations?  

AutoCreateTopics

Boolean

Yes 

Allow auto-creation of topic destinations?  

NumDestinations

Integer

No 

Current total number of destinations 

MaxNumMsgs

Long

Yes 

Maximum total number of unconsumed messages 

A value of -1 denotes an unlimited number of messages.

MaxBytesPerMsg

Long

Yes 

Maximum size, in bytes, of any single message 

A value of -1 denotes an unlimited message size.

MaxTotalMsgBytes

Long

Yes 

Maximum total memory, in bytes, for unconsumed messages 

A value of -1 denotes an unlimited number of bytes.

AutoCreateQueueMaxNumActiveConsumers [Auto-created queue destinations only]

Integer

Yes 

Maximum total number of active message consumers in load-balanced delivery 

A value of -1 denotes an unlimited number of consumers.

AutoCreateQueueMaxNumBackupConsumers

Integer

Yes 

Maximum total number of backup message consumers in load-balanced delivery 

A value of -1 denotes an unlimited number of consumers.

DMQTruncateBody

Boolean

Yes 

Remove message body before storing in dead message queue?

If true, only the message header and property data will be saved.

LogDeadMsgs

Boolean

Yes 

Log information about dead messages?  

If true, the following events will be logged:

  • A destination is full, having reached its maximum size or message count.

  • The broker discards a message for a reason other than an administrative command or delivery acknowledgment.

  • The broker moves a message to the dead message queue.