Logical Send Port上的Delivery Nitification属性

当Message发送Send Port失败后,Engine会为Suspended消息生成NACK。在Orchestration中,如果设置Logical Send Port的Delivery Nitification属性为"Transmitted"(默认值是None),那么NACK会转化为DeliveryFailureException异常,供Scope的Exception Handler处理。

如果Send Shape所在的Scope是Atomic事务类型,那么由发送失败导致的NACK会在Scope的最后才发送。

对于需要确认的消息发送,把Send Shape放在Scope中,设置为Long Transaction,并且按照上面的步骤设置。

你可能感兴趣的:(port)