本文整理了Java中org.objectweb.joram.mom.dest.Queue.denyRequest
方法的一些代码示例,展示了Queue.denyRequest
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Queue.denyRequest
方法的具体详情如下:
包路径:org.objectweb.joram.mom.dest.Queue
类名称: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);
内容来源于网络,如有侵权,请联系作者删除!