Interface ActiveMQServerConsumerPlugin
-
- All Superinterfaces:
ActiveMQServerBasePlugin
- All Known Subinterfaces:
ActiveMQServerPlugin
public interface ActiveMQServerConsumerPlugin extends ActiveMQServerBasePlugin
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidafterCloseConsumer(org.apache.activemq.artemis.core.server.ServerConsumer consumer, boolean failed)After a consumer is closeddefault voidafterCreateConsumer(org.apache.activemq.artemis.core.server.ServerConsumer consumer)After a consumer has been createddefault voidbeforeCloseConsumer(org.apache.activemq.artemis.core.server.ServerConsumer consumer, boolean failed)Before a consumer is closeddefault voidbeforeCreateConsumer(long consumerID, SimpleString queueName, SimpleString filterString, boolean browseOnly, boolean supportLargeMessage)default voidbeforeCreateConsumer(long consumerID, org.apache.activemq.artemis.core.postoffice.QueueBinding queueBinding, SimpleString filterString, boolean browseOnly, boolean supportLargeMessage)Before a consumer is created-
Methods inherited from interface org.apache.activemq.artemis.core.server.plugin.ActiveMQServerBasePlugin
init, registered, setInit, unregistered
-
-
-
-
Method Detail
-
beforeCreateConsumer
@Deprecated default void beforeCreateConsumer(long consumerID, SimpleString queueName, SimpleString filterString, boolean browseOnly, boolean supportLargeMessage) throws ActiveMQException
Before a consumer is created- Parameters:
consumerID-queueName-filterString-browseOnly-supportLargeMessage-- Throws:
ActiveMQException
-
beforeCreateConsumer
default void beforeCreateConsumer(long consumerID, org.apache.activemq.artemis.core.postoffice.QueueBinding queueBinding, SimpleString filterString, boolean browseOnly, boolean supportLargeMessage) throws ActiveMQExceptionBefore a consumer is created- Parameters:
consumerID-queueBinding-filterString-browseOnly-supportLargeMessage-- Throws:
ActiveMQException
-
afterCreateConsumer
default void afterCreateConsumer(org.apache.activemq.artemis.core.server.ServerConsumer consumer) throws ActiveMQExceptionAfter a consumer has been created- Parameters:
consumer- the created consumer- Throws:
ActiveMQException
-
beforeCloseConsumer
default void beforeCloseConsumer(org.apache.activemq.artemis.core.server.ServerConsumer consumer, boolean failed) throws ActiveMQExceptionBefore a consumer is closed- Parameters:
consumer-failed-- Throws:
ActiveMQException
-
afterCloseConsumer
default void afterCloseConsumer(org.apache.activemq.artemis.core.server.ServerConsumer consumer, boolean failed) throws ActiveMQExceptionAfter a consumer is closed- Parameters:
consumer-failed-- Throws:
ActiveMQException
-
-