Forum Discussion
topic channel is used to distribute multiple subscribers.
By the time you hit get request, the message on the topic might lost unless if that is durable topic. See if this applicable in your case.
You may read more about it online.
nmrao Well thank you for this idea, I tried to set it :P as you said, but seems like there is no need... Finally i figured out how to send POST(request) and send GET(receive consumed result).
groovyguy Thank you anyway for trying :P.
I will paste it here, perhaps someone in future will have similar problem.
http://admin:admin@192.168.X.XXX:8161/api/message?destination=queue://test.queue <-- This is request lets say for method PING, I'm not including JSON code here due to company politics, but lets say that someone have method PING and have to send it as POST, above URL will do the rest.
http://192.168.X.XXX:8161/api/message/test.topic?type=topic&clientId=ID:WIN-XXXXXXXX-XXXXX-XXXXXXXXX-X:X:X:X:X\&json=true <-- This is request for method GET, in my case i don't need to use any parameters, all i have to do is use that URL, and i will receive result in JSON format.
All I have to do now is create some sort of groovy script which will be able to compare address with coordinated (longitude and latitude)... Let's say that I'm sending Address and receiving coordinates, is there any way to compare if latidude and longitude belong to this address?? That would be very useful, but i think its pretty complicated.
Best regards
Emil
- ManP5 years agoNew Contributor
I'm also trying to send request in Json format to remote activemq using Soapui.No luck
Can you help me sending URL for destination Queue.I tried one you gave nothing working..Any suggestion
- Emil915 years agoContributor
ManP try this:
In case if you need send "GET" request to topic:
http://192.168.0.0:0000/api/message/name_of_topic?type=topic&clientId=Id_of_topic
In case if you need send "POST" request to queue:
http://192.168.0.0/api/message?destination=queue://name_of_queue
GL & have fun.
Best Regards
Emil
Related Content
Recent Discussions
- 25 minutes agodipsthorat
- 21 hours agoarmygrad