Oracle GlassFish Server Message Queue Administration Guide Release 4.5.2 Part Number E24943-01 |
|
|
View PDF |
This chapter provides reference information about configuration properties for physical destinations.
Table 18-1 lists the configuration properties for physical destinations. These properties can be set when creating or updating a physical destination. For auto-created destinations, you set default values in the broker's instance configuration file (see Table 17-3).
Table 18-1 Physical Destination Properties
Property | Type | Default Value | Description |
---|---|---|---|
|
Integer |
|
Maximum number of unconsumed messages A value of For the dead message queue, the default value is Note: When flow control is in effect ( |
|
String |
|
Maximum size, in bytes, of any single message Rejection of a persistent message is reported to the producing client with an exception; no notification is sent for nonpersistent messages. |
The value may be expressed in bytes, kilobytes, or megabytes, using the following suffixes:
|
|||
An unsuffixed value is expressed in bytes; a value of |
|||
Examples:
|
|||
|
String |
|
Maximum total memory, in bytes, for unconsumed messages The syntax is the same as for For the dead message queue, the default value is |
|
String |
|
Broker behavior when memory-limit threshold reached:
When |
If the value is |
|||
|
Integer |
|
Maximum number of message producers for destination When this limit is reached, no new producers can be created. A value of |
|
Integer |
|
Maximum number of active message consumers in load-balanced delivery from queue destination A value of This property used mostly in cases where message order is important and you want to provide backup consumers in case the principal consumer of a queue fails. If message order is not important, then you would simply use multiple consumers to provide for scalability and availability. |
|
Integer |
|
Maximum number of backup message consumers in load-balanced delivery from queue destination A value of |
|
Integer |
|
Maximum number of messages delivered to a consumer in a single batch In load-balanced queue delivery, this is the initial number of queued messages routed to an active consumer before load balancing begins. The client runtime can override this limit by specifying a lower value on the connection factory object. A value of Not used when the JMS resource adapter, jmsra, is used to consume messages in a GlassFish Server cluster. |
|
Boolean |
|
Local delivery only? This property applies only to destinations in broker clusters, and cannot be changed once the destination has been created. If |
Boolean |
|
Local delivery preferred? This property applies only to load-balanced queue delivery in broker clusters. If |
|
|
Boolean |
|
Send dead messages to dead message queue? If |
|
Boolean |
|
XML schema validation is enabled? When XML validation is enabled, the Message Queue client runtime will attempt to validate an XML message against the specified XSDs (or against the DTD, if no XSD is specified) before sending it to the broker. If the specified schema cannot be located or the message cannot be validated, the message is not sent, and an exception is thrown. Client applications using this feature should use JRE 1.5 or above. If set to |
|
String |
null |
Space separated list of XML schema document (XSD) URI strings The URIs point to the location of one or more XSDs to use for XML schema validation, if enabled. Use double quotes around this value if multiple URIs are specified. Example: " If this property is not set or null and XML validation is enabled, XML validation is performed using a DTD specified in the XML document. if an XSD is changed, as a result of changing application requirements, all client applications producing XML messages based on the changed XSD must reconnect to the broker. |
|
Boolean |
|
Reload XML schema on failure enabled? If set to If set to false or not set, then the schema is not reloaded if validation fails. |
Footnote 1 In a cluster environment, applies to each individual instance of a destination rather than collectively to all instances in the cluster
Footnote 2 Does not apply to dead message queue
Footnote 3 Queue destinations only
Footnote 4 This property should be set when a destination is inactive: when it has no consumers or producers and when there are no messages in the destination. Otherwise the producer must reconnect.