## Uses of Interface
org.apache.activemq.artemis.api.core.client.ClientConsumer

- Packages that use ClientConsumer
  Package | Description
  --- | ---
  org.apache.activemq.artemis.api.core.client |
  org.apache.activemq.artemis.jms.client |
  org.apache.activemq.artemis.spi.core.remoting |

- - ### Uses of ClientConsumer in org.apache.activemq.artemis.api.core.client

    Methods in org.apache.activemq.artemis.api.core.client that return ClientConsumer
    Modifier and Type | Method | Description
    --- | --- | ---
    `ClientConsumer` | ClientSession.`createConsumer​(java.lang.String queueName)` | Creates a ClientConsumer to consume messages from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(java.lang.String queueName, boolean browseOnly)` | Creates a ClientConsumer to consume or browse messages from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(java.lang.String queueName, java.lang.String filter)` | Creates a ClientConsumer to consume messages matching the filter from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(java.lang.String queueName, java.lang.String filter, boolean browseOnly)` | Creates a ClientConsumer to consume or browse messages matching the filter from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(java.lang.String queueName, java.lang.String filter, int windowSize, int maxRate, boolean browseOnly)` | Creates a ClientConsumer to consume or browse messages matching the filter from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(org.apache.activemq.artemis.api.core.SimpleString queueName)` | Creates a ClientConsumer to consume message from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(org.apache.activemq.artemis.api.core.SimpleString queueName, boolean browseOnly)` | Creates a ClientConsumer to consume or browse messages from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(org.apache.activemq.artemis.api.core.SimpleString queueName, org.apache.activemq.artemis.api.core.SimpleString filter)` | Creates a ClientConsumer to consume messages matching the filter from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(org.apache.activemq.artemis.api.core.SimpleString queueName, org.apache.activemq.artemis.api.core.SimpleString filter, boolean browseOnly)` | Creates a ClientConsumer to consume or browse messages matching the filter from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(org.apache.activemq.artemis.api.core.SimpleString queueName, org.apache.activemq.artemis.api.core.SimpleString filter, int priority, boolean browseOnly)` | Creates a ClientConsumer to consume or browse messages matching the filter from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(org.apache.activemq.artemis.api.core.SimpleString queueName, org.apache.activemq.artemis.api.core.SimpleString filter, int windowSize, int maxRate, boolean browseOnly)` | Creates a ClientConsumer to consume or browse messages matching the filter from the queue with the given name.
    `ClientConsumer` | ClientSession.`createConsumer​(org.apache.activemq.artemis.api.core.SimpleString queueName, org.apache.activemq.artemis.api.core.SimpleString filter, int priority, int windowSize, int maxRate, boolean browseOnly)` | Creates a ClientConsumer to consume or browse messages matching the filter from the queue with the given name.
    `ClientConsumer` | ClientConsumer.`setMessageHandler​(MessageHandler handler)` | Sets the MessageHandler for this consumer to consume messages asynchronously.

  - ### Uses of ClientConsumer in org.apache.activemq.artemis.jms.client

    Constructors in org.apache.activemq.artemis.jms.client with parameters of type ClientConsumer
    Constructor | Description
    --- | ---
    `ActiveMQMessageConsumer​(ConnectionFactoryOptions options, ActiveMQConnection connection, ActiveMQSession session, ClientConsumer consumer, boolean noLocal, ActiveMQDestination destination, java.lang.String selector, org.apache.activemq.artemis.api.core.SimpleString autoDeleteQueueName)` |
    `JMSMessageListenerWrapper​(ConnectionFactoryOptions options, ActiveMQConnection connection, ActiveMQSession session, ClientConsumer consumer, javax.jms.MessageListener listener, int ackMode)` |

  - ### Uses of ClientConsumer in org.apache.activemq.artemis.spi.core.remoting

    Methods in org.apache.activemq.artemis.spi.core.remoting with parameters of type ClientConsumer
    Modifier and Type | Method | Description
    --- | --- | ---
    `abstract void` | SessionContext.`closeConsumer​(ClientConsumer consumer)` |
    `abstract void` | SessionContext.`expireMessage​(ClientConsumer consumer, Message message)` |
    `abstract void` | SessionContext.`forceDelivery​(ClientConsumer consumer, long sequence)` |
    `abstract void` | SessionContext.`sendACK​(boolean individual, boolean block, ClientConsumer consumer, Message message)` |
    `abstract void` | SessionContext.`sendConsumerCredits​(ClientConsumer consumer, int credits)` |