Class MessageInterceptorRegistry
java.lang.Object
org.apache.activemq.broker.inteceptor.MessageInterceptorRegistry
-
Method Summary
Modifier and TypeMethodDescriptionaddMessageInterceptor(String destinationName, MessageInterceptor messageInterceptor) addMessageInterceptor(org.apache.activemq.command.ActiveMQDestination activeMQDestination, MessageInterceptor messageInterceptor) addMessageInterceptorForQueue(String destinationName, MessageInterceptor messageInterceptor) addMessageInterceptorForTopic(String destinationName, MessageInterceptor messageInterceptor) get(BrokerService brokerService) static MessageInterceptorRegistryvoidinjectMessage(ProducerBrokerExchange producerExchange, org.apache.activemq.command.Message messageSend) Re-inject into the Broker chainvoidremoveMessageInterceptor(String destinationName, MessageInterceptor messageInterceptor) voidremoveMessageInterceptor(org.apache.activemq.command.ActiveMQDestination activeMQDestination, MessageInterceptor interceptor) voidremoveMessageInterceptorForQueue(String destinationName, MessageInterceptor messageInterceptor) voidremoveMessageInterceptorForTopic(String destinationName, MessageInterceptor messageInterceptor)
-
Method Details
-
getInstance
-
get
-
get
-
addMessageInterceptor
public MessageInterceptor addMessageInterceptor(String destinationName, MessageInterceptor messageInterceptor) -
removeMessageInterceptor
-
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(org.apache.activemq.command.ActiveMQDestination activeMQDestination, MessageInterceptor messageInterceptor) -
removeMessageInterceptor
public void removeMessageInterceptor(org.apache.activemq.command.ActiveMQDestination activeMQDestination, MessageInterceptor interceptor) -
injectMessage
public void injectMessage(ProducerBrokerExchange producerExchange, org.apache.activemq.command.Message messageSend) throws Exception Re-inject into the Broker chain- Throws:
Exception
-