activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robomon <r_f...@pacbell.net>
Subject Message properties with a period in them?
Date Sat, 26 Jan 2008 23:54:41 GMT

I am in the process of converting from Orion JMS to ActiveMQ.  In Orion we
only use Text Messages.  We set a few message properties with names that
have a period in them such as test.message=Test.  In Orion we could set the
selector to test.message='Test'.  In ActiveMQ this throws an invalid
selector exception.

By the same token I can receive Text Messages in ActiveMQ with properties
that have periods but if I enumerate over the properties using
getStringProperty() it throws a NullPointer exception in my onMessage() as
soon as I run into one of the names.

What am I doing wrong?  I couldn't find any info on the property name
restrictions that exclude periods in the name so if you could point me in
that direction that would be great so I don't run into this kind of issue
again.

Thanks,

Robert

-- 
View this message in context: http://www.nabble.com/Message-properties-with-a-period-in-them--tp15114305s2354p15114305.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message