You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by mtod <mt...@thetods.net> on 2014/07/04 19:25:30 UTC

ActiveMQ 5.9.1 REST selector operation.

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.