Integration Forum
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Event Mesh HTTP issue

eskishore
Newcomer
0 Likes
409

Hi experts. I'm trying to consume messages from an Event Mesh queue using the following HTTP endpoint: https://<http rest address>/messagingrest/v1/queues/<queue name>/messages

I'm getting the following error when I try to hit the endpoint from Postman: read ECONNRESET

I'm wondering if this is due to the rest address itself that is generated in the service key (see screenshot below). 

kishore_eppalagudem_0-1772574902404.png

Thanks!

1 REPLY 1
Read only

0 Likes
325

To consume message from a queue in Event Mesh of SAP Integration Suite, construct the ULR like below:

  • http method: POST
  • hostname: xxx.xxxx.a.eventmesh.integration.cloud.sap (get it from service key)
  • port number: 1443
  • path: /messagingrest/v1/messages/consumption
  • [header parameter]  x-address: queue://<queue-name>, for example, queue://Test
  • [header parameter] x-qos: 0 or 1

This is the API specification: https://api.sap.com/api/RestGatewayAPI/path/post_messagingrest_v1_messages_consumption