Hi, I'am using UTF8 encoding for the selector and the property value.
Peter bsnyder wrote: > > On Wed, Mar 25, 2009 at 9:24 AM, retep <[email protected]> wrote: >> >> Hi, >> >> we are using topic messages to sent messages from one user to another. >> Our >> program subscribe a durable consumer with selector "UserName='<user>'" >> and >> sent a message with the property "UserName" and value "<user>". >> >> All works fine, when <user> contains only ASCII characters. When <user> >> contains non ASCII characters like äöüßé, the message is not sent to the >> consumer. >> >> I have looked in the data files and everything looks fine. >> >> We are using ActiveMQ 5.2. > > According to the JMS spec, section 3.8.1.1 Message Selector Syntax: > > A string literal is enclosed in single quotes, with an included single > quote > represented by doubled single quote; for example, ‘literal’ and > ‘literal’’s’. > Like Java String literals, these use the Unicode character encoding. > > Just an idea, have you tried using the Unicode characters instead of > ASCII? > > Bruce > -- > perl -e 'print > unpack("u30","D0G)u8...@4vyy9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" > );' > > Apache ActiveMQ - http://activemq.apache.org/ > Apache Camel - http://camel.apache.org/ > Apache ServiceMix - http://servicemix.apache.org/ > > Blog: http://bruceblog.org/ > > -- View this message in context: http://www.nabble.com/Topic-selector-with-non-ASCII-characters-tp22704013p22717985.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
