积极答复者
如何订阅通过流程的直接端口发布时路由失败的消息

问题
-
Hi
我在流程里使用直接端口将消息发布到Messagebox。但如果此消息没有相关的订阅者的话BizTalk引擎会报发布失败的错误,并且会挂起该消息。如何通过订阅的方式将此错误消息订阅到?
1. 在事件日志里可以看到如下信息:
. . . . . .
Inner exception: Exception occurred when persisting state to the database.
. . . . . .
A batch item failed persistence Item-ID e8fae691-702d-48c6-b131-6461e8adcc03 OperationType MAIO_CommitBatch Status -1061151998 ErrorInfo The published message could not be routed because no subscribers were found. .
2. 在BizTalk的管理控制台有如下信息
->Group Hub
we can see there have two suspented items one is Resumble, the other is Non-resumable
-> Resumable
There have one suspented message, the service class is orchestration. Service Name is the Publish Orchestration Name.
Message Dialogue
In the Context there have six propries has beed promoted: InboundTransportLocation, LastInterchangeMessage, ReceivePortID, ReceivePortName. The Message Ports have the message source data.
->Non-resumable
There have one suspented, the service class is Routing failure report, Service Name is Routing Failure Report for "...The Publish Orchestration Name..".
Message Dialogue
In the Context there have two propries has beed promoted: MessageType, Operation. And the message parts is null.