Route Service Bus queue messages to Event Hub using Logic App

Yennam, ShowryPremsagar 41 Reputation points
2020-10-08T17:05:05.517+00:00

Hi Team,

Could someone suggest , how to route Service Bus Queue messages to Event Hub using Logic App.

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
542 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
555 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 68,391 Reputation points
    2020-10-09T02:36:29.68+00:00

    Hi @Yennam, ShowryPremsagar

    The first step would be adding service bus trigger to your logic app so whenever there are messages sent to the service bus your logic app is triggered. You can either use "When a message is received in a queue (auto-complete)" or "When a message is received in a queue (peek-look)" according to your requirement. You need to configure the connection string and other parameters as mentioned in the service bus trigger document.

    Once you have configured the service bus trigger then you need to use Send Events action to send the event to event hub. In the Content of send event you need to use the dynamic content response of the service bus trigger as below

    31078-image.png

    Logic App Designer:

    31028-image.png

    The above is for reference and you need to change it as per your requirement and I hope the above helps. Feel free to get back to me if you have any queries or concerns.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful