Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 23. Queue Attributes
23.1. Predefined Queues Link kopierenLink in die Zwischenablage kopiert!
The following shows a queue predefined in the JBOSS_DIST/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-jms.xml
configuration file.
<queue name="selectorQueue"> <entry name="/queue/selectorQueue"/> <selector string="color='red'"/> <durable>true</durable> </queue>
<queue name="selectorQueue">
<entry name="/queue/selectorQueue"/>
<selector string="color='red'"/>
<durable>true</durable>
</queue>
jms.queue.selectorQueue
.
null
.
true
.
A queue can be predefined at a core level in the <JBOSS_HOME>/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-configuration.xml
file.
- The name attribute of queue is the actual name used for the queue with no naming convention as in JMS.
- The address element defines what address is used for routing messages.
- There is no entry element.
- The filter uses the Core filter syntax (described in Chapter 12, Filter Expressions), not the JMS selector syntax.