[jboss-jira] [JBoss JIRA] (AS7-4004) Queue selector set in standalone-full.xml not parsed as defined in the HornetQ documentation

A l e c C R E S T A N (JIRA) jira-events at lists.jboss.org
Fri Mar 2 06:43:36 EST 2012


A l e c C R E S T A N created AS7-4004:
------------------------------------------

             Summary: 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: Andy Taylor


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