You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Andrew Gasparovic (JIRA)" <ji...@apache.org> on 2011/06/02 23:07:47 UTC

[jira] [Created] (AMQ-3355) Selectors on message properties with a hyphen in the name don't work with STOMP

Selectors on message properties with a hyphen in the name don't work with STOMP
-------------------------------------------------------------------------------

                 Key: AMQ-3355
                 URL: https://issues.apache.org/jira/browse/AMQ-3355
             Project: ActiveMQ
          Issue Type: Bug
          Components: Selector
    Affects Versions: 5.5.0
            Reporter: Andrew Gasparovic


Setting a selector like "testheader='value'" and sending a message with the appropriate testheader property results in the client receiving the message.

But when setting a selector like "Test-Header='value'" and sending the appropriate message, the client doesn't receive the message.

I tried quoting the property name like "'Test-Header'='value'" to no avail. Quoting it the real SQL 92 way "\"Test-Header\"='value'" (where objects are in double quotes and values are in single quotes) results in a parser exception. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (AMQ-3355) Selectors on message properties with a hyphen in the name don't work with STOMP

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQ-3355.
-----------------------------

    Resolution: Won't Fix

Working as designed '-' is not a valid identifier value according to the rules for JMS Identifiers in the spec.

> Selectors on message properties with a hyphen in the name don't work with STOMP
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-3355
>                 URL: https://issues.apache.org/jira/browse/AMQ-3355
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Selector
>    Affects Versions: 5.5.0
>            Reporter: Andrew Gasparovic
>
> Setting a selector like "testheader='value'" and sending a message with the appropriate testheader property results in the client receiving the message.
> But when setting a selector like "Test-Header='value'" and sending the appropriate message, the client doesn't receive the message.
> I tried quoting the property name like "'Test-Header'='value'" to no avail. Quoting it the real SQL 92 way "\"Test-Header\"='value'" (where objects are in double quotes and values are in single quotes) results in a parser exception. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira