Creating queues in JBoss messaging JMS
Create queues in JBoss messaging JMS.
About this task
To create a Queue in JBoss Messaging JMS:
Procedure
Edit the <JBOSS_HOME>/server/<SERVER_NAME>/deploy/jboss-messaging.sar/destination_service.xml file
to configure a queue. The following table provides a list of attributes
to use to configure a queue.
| Attribute | Description |
|---|---|
| DestinationManager | Specify the object name of the DestinationManager where the queue is deployed. |
| SecurityManager | Specify the object name of the SecurityManager where the SecurityConf is deployed. |
| SecurityConf | Specify the configuration interpreted by the SecurityManager. |
| JNDIName | Specify the JNDI binding of the queue. If you specify none, the system looks for a jmx attribute "name" in the queue's object name. |
| MaxDepth | Specify the maximum depth of the queue. |
| InMemory | When set to true, messages are not persisted. It also avoids message softening when NullPersistenceManager is used. |
| RedeliveryLimit | Specify the maximum number of times a message must not be acknowledged
before it is sent to DLQ. Valid values are:
|
| RedeliveryDelay | Specify the time (in milliseconds) to wait before a message is redelivered after it is not acknowledged. |
MessageCounterHistory |
Specify the number of days you want to keep the MessageCounter history. |
| ReceiversImpl | Specify the class you want to use for the receivers implementation. |
| RecoveryRetries | Specify the recovery retries for the queue. By default, the value is set to 0 (zero). Specifies the number of times uncommitted transactions must be resolved before failing. |