本文整理了Java中org.apache.activemq.broker.region.Queue.isDLQ
方法的一些代码示例,展示了Queue.isDLQ
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Queue.isDLQ
方法的具体详情如下:
包路径:org.apache.activemq.broker.region.Queue
类名称:Queue
方法名:isDLQ
暂无
代码示例来源:origin: apache/activemq
public int retryMessages(ConnectionContext context, int maximumMessages) throws Exception {
if (!isDLQ()) {
throw new Exception("Retry of message is only possible on Dead Letter Queues!");
代码示例来源:origin: apache/activemq
try {
messages.rollback(m.getMessageId());
if (isDLQ()) {
ActiveMQDestination originalDestination = m.getMessage().getOriginalDestination();
if (originalDestination != null) {
代码示例来源:origin: org.apache.activemq/activemq-broker
public int retryMessages(ConnectionContext context, int maximumMessages) throws Exception {
if (!isDLQ()) {
throw new Exception("Retry of message is only possible on Dead Letter Queues!");
代码示例来源:origin: org.apache.activemq/activemq-all
public int retryMessages(ConnectionContext context, int maximumMessages) throws Exception {
if (!isDLQ()) {
throw new Exception("Retry of message is only possible on Dead Letter Queues!");
代码示例来源:origin: org.apache.activemq/activemq-osgi
public int retryMessages(ConnectionContext context, int maximumMessages) throws Exception {
if (!isDLQ()) {
throw new Exception("Retry of message is only possible on Dead Letter Queues!");
代码示例来源:origin: org.apache.activemq/activemq-broker
try {
messages.rollback(m.getMessageId());
if (isDLQ()) {
DeadLetterStrategy strategy = getDeadLetterStrategy();
strategy.rollback(m.getMessage());
代码示例来源:origin: org.apache.activemq/activemq-all
try {
messages.rollback(m.getMessageId());
if (isDLQ()) {
DeadLetterStrategy strategy = getDeadLetterStrategy();
strategy.rollback(m.getMessage());
代码示例来源:origin: org.apache.activemq/activemq-osgi
try {
messages.rollback(m.getMessageId());
if (isDLQ()) {
DeadLetterStrategy strategy = getDeadLetterStrategy();
strategy.rollback(m.getMessage());
内容来源于网络,如有侵权,请联系作者删除!