Event Mesh URL:
POST https://domain/api/v1/queues/myQueue/messages
I tried below pattern but did not work.
POST https:///api/v1/queues//messages
Event Mesh URL:
POST https://domain/api/v1/queues/myQueue/messages
I tried below pattern but did not work.
POST https:///api/v1/queues//messages
Hi @rajeshy1987113 ,
You’re close! The URL structure should look like this https://{host}:{port}/QUEUE/{queue-name}
and then your body will go into the payload of the message.
Hope that helps!
thanks for responding.
I tried same but did not work. any pre-request before sending from postman ?
I have created a queue in my Cluster Manager→ServiceDetails → Manage →Queue —> Queue Name:Sender_Recevier_SBGTest_TestProject.
I have given credentials which are available under Connect Tab—> REST API.
Hi @rajeshy1987113 ,
I just tested using your URL setup + body and it worked for me so that should all be good. I would suggest checking a few things:
If that doesn’t work can you share what response you are getting?
***Something to consider depending on your user case: while there are use cases when it makes sense to publish directly to a queue, we do generally recommend publishing messages to topics and then have 1 to many queues subscribe to those topics. This allows your publishers and consumers to be more decoupled and more easily take advantage of the publish-subscribe pattern.
Thanks Marc. Issue resolved , Issue was with permissions on it’s Client Profile.
Excellent, glad to hear it @rajeshy1987113 !