Class: com.sybase.jms.server.MessageQueue (JMS Message Queue) | EAServer 6.3 Help |
---|
Description |
Allows configuration of JMS message queues for the Sybase
JMS provider. Message queues do not need to be preconfigured
unless their properties require non-default values. A JMS client
using the Sybase JMS initial context factory
(com.sybase.jms.client.InitialContectFactory)
can look up preconfigured queues by name. To look up queues which
have not been preconfigured, the client must use a JNDI name ending
with "Queue". Or the client can use the javax.jms.Session.createQueue
API to look up queues with arbitrary names, whether or not
the queues have been preconfigured.
To override default properties for JMS temporary queues, you can configure the queue with name "javax.jms.TemporaryQueue" (see also the temporaryQueueTemplate connection factory property). |
---|---|
Configuration | See Set Properties Task. |
Properties | automaticRecoveryTimeout, clusterPartition, compressStoredMessages, consumerRoles, dataSource, databaseTable, duplicateDetectionKey, duplicateDetectionProtocol, duplicateDetectionTable, duplicateDetectionTimeout, idleConnectionTimeout, ignoreDuplicateMessages, maximumMessagesInMemory, maximumWaitingForAcknowledge, processMessagesInOrder, producerRoles, pullMessagesFrom, pushMessagesTo, queueID, storeTransientMessages, suspendMessageDelivery |
Files | Repository/Instance/com/sybase/jms/server/MessageQueue/*.properties |
Property: clusterPartition (Cluster Partition) | |
---|---|
Description | Required. When running in a cluster, each message queue is assigned to a single cluster partition, meaning that any one of the servers in that partition can manage the queue at any point in time. The "default" partition contains all servers in the cluster. When a server fails, another server in the same partition takes over management of the queue. This property is ignored for non-clustered servers. |
Default Value | default |
Property: consumerRoles (Consumer Roles) | |
---|---|
Description | A comma-separated list of security roles. If this list is not empty, any client wishing to browse or receive messages from the queue must be a member of at least one of the listed roles. |
Property: dataSource (Data Source) | |
---|---|
Description | Required. The name of a data source indicating the database in which persistent and transient overflow messages will be stored. If a queue uses a different data source from other resources involved in a transaction (such as direct JDBC access or EJB entity beans), achieving atomicity between message queue operations and other resource access will require the data sources to be configured for XA two phase commit. Unless you have a particular reason to store JMS messages outside the "default" data source, you should not change this property. |
Default Value | message.db |
Property: databaseTable (Database Table) | |
---|---|
Description | The name of a database table in which persistent and transient overflow messages for this queue will be stored. |
Default Value | jms_pm |
Property: duplicateDetectionTable (Duplicate Detection Table) | |
---|---|
Description | A database table that is used to detect duplicate messages. The database table must be in the database indicated by dataSource. |
Default Value | jms_dd |
Property: duplicateDetectionTimeout (Duplicate Detection Timeout) | |
---|---|
Description | The number of seconds that an entry may exist in duplicateDetectionTable before automatic removal. Duplicates cannot be reliably detected if they arrive after the timeout period has expired (since delivery of the first copy of a message). |
Default Value | 3600 |
Minimum Value | 0 |
Maximum Value | 2147483647 |
Property: ignoreDuplicateMessages (Ignore Duplicate Messages) | |
---|---|
Description |
Enables checking for for duplicate messages on 'send'. Any duplicate messages
are ignored.
See also: duplicateDetectionKey. |
Default Value | false |
Legal Values | false, true |
Property: producerRoles (Producer Roles) | |
---|---|
Description | A comma-separated list of security roles. If this list is not empty, any client wishing to send messages to the queue must be a member of at least one of the listed roles. |
Property: pullMessagesFrom (Pull Messages From) | |
---|---|
Description |
Specifies that messages should be pulled into this queue
from another queue on a remote JMS provider.
The syntax of this property is "queue-name@provider-name",
where provider-name is the name of a configured
JMS provider,
and queue-name is an arbitrary remote queue name.
For propagation of persistent messages, you can assume "exactly-once" propagation if using a JMS provider configured with a JNDI Initial Context Factory of "com.sybase.jms.client.InitialContextFactory", or if using a JMS provider configured to use a resource adapter where the resource adapter is configured to support two phase commit and the dataSource property of this (local) queue is configured to support two phase commit. Otherwise, you can assume "at-least once" propagation of messages. The remote queue name may contain one or more substitution expressions of the form "${var}", where var is the name of a local Java system property. |
Property: pushMessagesTo (Push Messages To) | |
---|---|
Description |
Specifies that messages should be pushed from this queue
into one or more queues or topics on a remote JMS provider.
The syntax of this property is "remote-dest@provider-name",
where provider-name is the name of a configured
JMS provider,
and remote-dest specifies one or more remote destinations (queues or topics).
The syntax of remote-dest is a single destination or a
comma-separated list of destinations. Each destination is one of:
For propagation of persistent messages, you can assume "exactly-once" propagation if using a JMS provider configured with a JNDI Initial Context Factory of "com.sybase.jms.client.InitialContextFactory", or if using a JMS provider configured to use a resource adapter where the resource adapter is configured to support two phase commit and the dataSource property of this (local) queue is configured to support two phase commit. Otherwise, you can assume "at-least once" propagation of messages. A destination name may contain one or more substitution expressions of the form "${var}", where var is the name of a local Java system property or JMS message header property. If a property referenced by a substitution expression exists both as a message header property and a system property, the message header property takes precedence. Note that using message header properties in determining the destination queue or topic name allows you to achieve a limited form of content-based routing. |
Property: storeTransientMessages (Store Transient Messages) | |
---|---|
Description | Indicates whether transient (non-persistent) messages in this queue will be saved in the message store when the queue overflows (see maximumMessagesInMemory) or when the queue times out due to client inactivity. Messages not saved in the message store in one of these situations will be discarded. |
Default Value | true |
Legal Values | false, true |
Property: suspendMessageDelivery (Suspend Message Delivery) | |
---|---|
Description | Indicates whether message delivery for this queue should be suspended. |
Default Value | false |
Legal Values | false, true |