org.objectweb.joram.mom.dest.Queue.denyRequest()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(103)

本文整理了Java中org.objectweb.joram.mom.dest.Queue.denyRequest方法的一些代码示例,展示了Queue.denyRequest的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Queue.denyRequest方法的具体详情如下:
包路径:org.objectweb.joram.mom.dest.Queue
类名称:Queue
方法名:denyRequest

Queue.denyRequest介绍

[英]Method implementing the reaction to a DenyRequest instance, requesting messages to be denied.

This method denies the messages and launches a delivery sequence. Messages considered as undeliverable are sent to the DMQ.
[中]方法实现对DenyRequest实例的反应,请求拒绝消息。
此方法拒绝消息并启动传递序列。被视为无法送达的消息将被发送到DMQ。

代码示例

代码示例来源:origin: org.objectweb.joram/joram-mom-core

acknowledgeRequest((AcknowledgeRequest) not);
else if (not instanceof DenyRequest)
 denyRequest(from, (DenyRequest) not);
else if (not instanceof AbortReceiveRequest)
 abortReceiveRequest(from, (AbortReceiveRequest) not);

代码示例来源:origin: org.ow2.joram/joram-mom-core

acknowledgeRequest((AcknowledgeRequest) not);
else if (not instanceof DenyRequest)
 denyRequest(from, (DenyRequest) not);
else if (not instanceof AbortReceiveRequest)
 abortReceiveRequest(from, (AbortReceiveRequest) not);

相关文章