ADB Adapter 的故障场景
我想在 tibco 中测试 ADB Adapter 的故障场景。状态为 C、N、F、P。
P = 表示待确认。 N = 表示有新消息到达,但尚未发布。 C = 表示完成。 F = 表示失败。
谁能告诉我在什么情况下我可以获得F或P身份?
I want to test failure scenarios for ADB Adapter in tibco. The states are C,N,F,P.
P = indicates pending acknowledgement.
N = indicates that a new message has arrived, but has not yet been published.
C = indicates complete.
F = indicates failed.
Can someone tell me in which scenario can I get status as F or P.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
AFAIK,C代表“已确认”,而不是“完整”。
在订阅者使用活动“Confirm”确认其接收后,消息进入 C 状态。
因此,您可以通过在发布者进程正在生产时关闭订阅者进程来获得 P 状态。所有已发送但未消费的消息都处于“P”状态(您应该在分类帐文件中找到它们)
抱歉,我从未见过 F 状态:-)
AFAIK, C stands for "confirmed", not "complete".
The message goes into the C state after a subscriber has confirmed its reception using the activity "Confirm".
So you can obtain a P state, for instance, by turning off the subscriber process while the publisher process is producing. All the messages sent but not consumed are in "P" (and you should find them into the ledger file)
I'm sorry, I've never seen the F state :-)