[jboss-jira] [JBoss JIRA] (AS7-4004) Queue selector set in standalone-full.xml not parsed as defined in the HornetQ documentation
Jeff Mesnil (JIRA)
jira-events at lists.jboss.org
Mon Mar 12 10:30:47 EDT 2012
[ https://issues.jboss.org/browse/AS7-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Mesnil reassigned AS7-4004:
--------------------------------
Assignee: Jeff Mesnil (was: Andy Taylor)
> Queue selector set in standalone-full.xml not parsed as defined in the HornetQ documentation
> --------------------------------------------------------------------------------------------
>
> Key: AS7-4004
> URL: https://issues.jboss.org/browse/AS7-4004
> Project: Application Server 7
> Issue Type: Bug
> Components: JMS
> Affects Versions: 7.1.0.Final
> Environment: Windows vista, jdk6 32b
> Reporter: A l e c C R E S T A N
> Assignee: Jeff Mesnil
> Labels: queue, selector
>
> HornetQ 2.2.5 documentation says in chapter 25 "Queue attributes" that JMS queue may have a selector defined:
> <queue name="selectorQueue">
> <entry name="/queue/selectorQueue"/>
> <selector string="color='red'"/>
> <durable>true</durable>
> </queue>
> In JBoss, a configuration with
> <jms-queue name="selectorQueue">
> <entry name="queue/selectorQueue"/>
> <selector string="color='red'"/>
> </jms-queue>
> fails to start with an exception:
> Message: "JBAS014704: '' is an invalid value for parameter selector. Values must have a minimum length of 1 characters"
> It starts with the following structure:
> <jms-queue name="selectorQueue">
> <entry name="queue/selectorQueue"/>
> <selector>color='red'</selector>
> </jms-queue>
> but the filtering of messages NEVER occurs and all messages go to the queue (all colors).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list