activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtod <m...@thetods.net>
Subject ActiveMQ 5.9.1 REST selector operation.
Date Fri, 04 Jul 2014 17:25:30 GMT
I'm trying to use the REST API to GET a response from a queue.

I set my url to :
http://appdev003:8161/api/message/xml2test.replyto.queue?type=queue&clientId=XML2Test&readTimeout=1000

I added a header for selector:
JMSCorrelationID='9595bb66-6fb7-4f6f-8bd5-ff86721f35f7'

I checked the message and the Correlation Id is set to the Guid above.

What I received back is not the filtered message I get what ever is on the
queue.

Details on the request:
Method	GET	String	0	32	
Uri	
/api/message/xml2test.replyto.queue?type=queue&clientId=XML2Test&readTimeout=1000

Headers
map{Authorization=BasicYWRtaW46YWRtaW4=,Host=appdev003:8161,selector=JMSCorrelationID='5baaf583-7598-45cb-8620-2c030ae8d83c'}

I'm not sure what I'm doing wrong or if this feature works.

Thanks

Mike







--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-9-1-REST-selector-operation-tp4682822.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message