[
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