Sun GlassFish Message Queue 4.4 Administration Guide

dmq Attributes

Table 12–7 lists the attributes for the dmq element in the JMS Bridge XML configuration file.

Table 12–7 dmq Attributes

Attribute 

Type 

Description 

client-id

String 

JMS client identifier for the DMQ producer connection. If set, the connection will be dedicated. 

Default value: not set 

connection-factory-ref [This attribute is ignored for the built-in DMQ, built-in-dmq]

String 

The ref-name attribute value of the connection-factory element to associate with this DMQ. This connection factory must be a javax.jms.ConnectionFactory object.

Default value: no default 

destination-ref

String 

The ref-name attribute value of the destination element to associate with this DMQ.

Default value: no default 

enabled

Boolean 

Is this DMQ is enabled? 

Default value: true

message-transformer-class

String 

A fully qualified class name that extends the Message Queue bridge MessageTransformer class. For more information, see Message Transformation During Message Delivery.

Default value: not set 

name

String 

The unique identifier of this DMQ. 

Default value: no default 

send-attempt-interval-in-seconds

Integer 

How long to wait before attempting to resend an undeliverable message to this DMQ. 

Default value: 5

send-attempts

Integer 

The number of attempts to send (or resend) an undeliverable message to this DMQ. 

Default value: 3

stay-connected

Boolean 

If true, the DMQ producer connection will stay connected and be dedicated. 

Default value: true

time-to-live-in-millis

Integer 

Time-to-live in milliseconds for messages going to this DMQ. The value 0 means forever.

Default value: 0