.n4.nabble.com/file/n4726036/image1.png>
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-REST-Api-with-HTTP-tp4725797p4726036.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
2" -H "selector: test" -H
> "Content-Type: text/plain" -XPOST
> "http://localhost:8161/api/message?destination=queue://
> Test_Kovac&&clientId=KovacIP2&test=2"
>
> I try this selector and it doesn't work, I can retrieve everything:
> curl -u admin:admin -H "selector: test=2" -X GET
> "http://localhost:8161/api/message?destination=queue://
> Test_Kovac?type=queue&clientId=KovacIP2"
>
> Conclusion: I can seem to filter any messages.
>
>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/ActiveMQ-REST-Api-with-HTTP-tp4725797p4725883.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
t_Kovac&&clientId=KovacIP2&test=2";
I try this selector and it doesn't work, I can retrieve everything:
curl -u admin:admin -H "selector: test=2" -X GET
"http://localhost:8161/api/message?destination=queue://Test_Kovac?type=queue&clientId=KovacIP2";
Conclusion: I can seem to filter any messages.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-REST-Api-with-HTTP-tp4725797p4725883.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
atly appreciate an example.
Thank you
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-REST-Api-with-HTTP-tp4725797p4725881.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
quot;Content-Type: text/plain" -XPOST
> "http://localhost:8161/api/message?destination=queue://
> Test_Kovac&&clientId=KovacIP3"
>
> When I try to retrieve test=2 with this command
>
> curl -u admin:admin -H "selector: test=2" -X GET
> "ht
/localhost:8161/api/message?destination=queue://Test_Kovac?type=queue&clientId=KovacIP2";
I have access to all the message. I retreive them all (all 3 of them) 1 by
1.
Why is that?
How does the selector work?
Thanks for your help
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-REST-Api-with-HTTP-tp4725797.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.