activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Wistow <si...@thegestalt.org>
Subject Stomp and numeric properties in message selectors
Date Tue, 19 Dec 2006 19:24:30 GMT
I recently spent a while debugging some problems I was having. The 
solution turned out to be that in my Java sender I was doing something 
like

	message.setIntProperty('year',2006);


and then my message selector in my consumer was 

	(year=2006 OR year IS NULL)

However in Perl land, even though the Stomp frame looked like

	year:2006

that doesn't work unless I do

	(year='2006' OR year IS NULL)


is there anyway to force Stomp to have a numeric property? Or am I just 
missing something entirely?

Simon







Mime
View raw message