Class MessageInterceptorRegistry
- java.lang.Object
-
- org.apache.activemq.broker.inteceptor.MessageInterceptorRegistry
-
public class MessageInterceptorRegistry extends Object
-
-
Method Summary
-
-
-
Method Detail
-
getInstance
public static MessageInterceptorRegistry getInstance()
-
get
public MessageInterceptorRegistry get(String brokerName)
-
get
public MessageInterceptorRegistry get(BrokerService brokerService)
-
addMessageInterceptor
public MessageInterceptor addMessageInterceptor(String destinationName, MessageInterceptor messageInterceptor)
-
removeMessageInterceptor
public void removeMessageInterceptor(String destinationName, MessageInterceptor messageInterceptor)
-
addMessageInterceptorForQueue
public MessageInterceptor addMessageInterceptorForQueue(String destinationName, MessageInterceptor messageInterceptor)
-
removeMessageInterceptorForQueue
public void removeMessageInterceptorForQueue(String destinationName, MessageInterceptor messageInterceptor)
-
addMessageInterceptorForTopic
public MessageInterceptor addMessageInterceptorForTopic(String destinationName, MessageInterceptor messageInterceptor)
-
removeMessageInterceptorForTopic
public void removeMessageInterceptorForTopic(String destinationName, MessageInterceptor messageInterceptor)
-
addMessageInterceptor
public MessageInterceptor addMessageInterceptor(ActiveMQDestination activeMQDestination, MessageInterceptor messageInterceptor)
-
removeMessageInterceptor
public void removeMessageInterceptor(ActiveMQDestination activeMQDestination, MessageInterceptor interceptor)
-
injectMessage
public void injectMessage(ProducerBrokerExchange producerExchange, Message messageSend) throws Exception
Re-inject into the Broker chain- Throws:
Exception
-
-