activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <>
Subject Re: Topic selector with non ASCII characters
Date Wed, 25 Mar 2009 17:00:19 GMT
On Wed, Mar 25, 2009 at 9:24 AM, retep <> 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 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

perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"

Apache ActiveMQ -
Apache Camel -
Apache ServiceMix -


View raw message