Ive been doing a lot of work with Azure Service Bus Event Hubs recently and I wanted to be able to send messages from BizTalk Server to an Event Hub.  This turned out to be quite easy to do and there are a few simple steps to do this.

  1. Use the WCF Web HTTP adapter
  2. Configure the adapter to use the https address for your event hub to send messages
  3. Use the Event Hub Signature Generator tool to create a token for calling Event Hub
  4. Use the messages tab of the adapter to set outgoing HTTP headers and set the authorization header to use your token


In the video below I demonstrate a simple scenario of sending JSON from the file system to an event hub.  In the real world your likely to use a custom pipeline to convert your BizTalk message to JSON on the way out.


Im currently running a competition to Win a Free Zero to Cloud in 1 Day with Microsoft Azure training workshop for your team.

If you would like to enter the competition check it out here