org.apache.activemq.broker.inteceptor
Class MessageInterceptorRegistry
java.lang.Object
org.apache.activemq.broker.inteceptor.MessageInterceptorRegistry
public class MessageInterceptorRegistry
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.