2

I've been attempting this for a couple of weeks now. It's a pretty simple concept.

I just want to read messages off of an Azure cloud queue (Not a service buss!) from a local installation of BizTalk Server 2013 R2 and then allow BizTalk to do something with that message on our internal network. I am following this sort of example for creating a port to the Azure Queue:

http://social.technet.microsoft.com/wiki/contents/articles/20211.biztalk-server-2013-connect-to-window-azure-blob-storage.aspx

In my case, this needs to be a receive (it will be receiving queue messages). So, I have a receive location which is a WCF-WebHttp adapter pointed to: https://myappname.queue.core.windows.net/ with operations like:

 <Operation Name="Query" Method="Get" Url="/myqueue/messages"/>
 <Operation Name="Remove" Method="Delete" Url="/myqueue/messages"/>

That doesn't seem to magically do anything, and i'm not sure how I would initiate a read call to the Azure queue from BizTalk. Do I need to initiate a polling message of some sort? How would I do that with a WCF-WebHttp adapter port?

Maybe the question is: How do I make the orchestration which starts with a WCF-WebHttp receive location do something? Ie. how do I make it poll the queue / what should I be starting the orchestration with?

4

1 回答 1

3

WCF-WebHttp 没有任何内置的轮询机制。您必须创建或模拟一个。

此时您需要为此进行一些自定义实现。有很多不同的选择,但我可能会选择其中之一。

  1. 使用计划任务适配器将 GET 请求发送到队列端点并将该消息发布到 MessageBox
  2. 创建一个 Windows 服务或计划作业(可能是 Powershell?),它执行轮询并将任何消息写入 BizTalk 可以自动使用的东西(可能是 MSMQ 或文件位置)
于 2015-11-18T12:24:34.390 回答