public final class BrokerSupport extends Object
Modifier and Type | Method and Description |
---|---|
protected static ConnectionContext |
createAdminConnectionContext(Broker broker)
Factory method to create the new administration connection context
object.
|
static void |
doResend(ConnectionContext context,
Message originalMessage,
ActiveMQDestination deadLetterDestination,
boolean copy) |
static ConnectionContext |
getConnectionContext(Broker broker)
Returns the broker's administration connection context used for
configuring the broker at startup
|
static void |
resend(ConnectionContext context,
Message originalMessage,
ActiveMQDestination deadLetterDestination) |
static void |
resendNoCopy(ConnectionContext context,
Message originalMessage,
ActiveMQDestination deadLetterDestination) |
public static void resendNoCopy(ConnectionContext context, Message originalMessage, ActiveMQDestination deadLetterDestination) throws Exception
Exception
public static void resend(ConnectionContext context, Message originalMessage, ActiveMQDestination deadLetterDestination) throws Exception
context
- originalMessage
- deadLetterDestination
- Exception
public static void doResend(ConnectionContext context, Message originalMessage, ActiveMQDestination deadLetterDestination, boolean copy) throws Exception
Exception
public static ConnectionContext getConnectionContext(Broker broker)
protected static ConnectionContext createAdminConnectionContext(Broker broker)
Copyright © 2005–2020 FuseSource, Corp.. All rights reserved.