org.apache.activemq.util
Class BrokerSupport

java.lang.Object
  extended by org.apache.activemq.util.BrokerSupport

public final class BrokerSupport
extends Object

Utility class for re-sending messages


Method Summary
static void doResend(ConnectionContext context, Message originalMessage, ActiveMQDestination deadLetterDestination, boolean copy)
           
static void resend(ConnectionContext context, Message originalMessage, ActiveMQDestination deadLetterDestination)
           
static void resendNoCopy(ConnectionContext context, Message originalMessage, ActiveMQDestination deadLetterDestination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resendNoCopy

public static void resendNoCopy(ConnectionContext context,
                                Message originalMessage,
                                ActiveMQDestination deadLetterDestination)
                         throws Exception
Throws:
Exception

resend

public static void resend(ConnectionContext context,
                          Message originalMessage,
                          ActiveMQDestination deadLetterDestination)
                   throws Exception
Parameters:
context -
originalMessage -
deadLetterDestination -
Throws:
Exception

doResend

public static void doResend(ConnectionContext context,
                            Message originalMessage,
                            ActiveMQDestination deadLetterDestination,
                            boolean copy)
                     throws Exception
Throws:
Exception


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.