public interface ClientConsumerInternal extends ClientConsumer
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledge(ClientMessage message) |
void |
cleanUp() |
void |
clear(boolean waitForOnMessage) |
void |
clearAtFailover() |
void |
flowControl(int messageBytes,
boolean discountSlowConsumer) |
void |
flushAcks() |
int |
getBufferSize() |
int |
getClientWindowSize() |
org.apache.activemq.artemis.api.core.SimpleString |
getFilterString() |
ClientSession.QueueQuery |
getQueueInfo() |
org.apache.activemq.artemis.api.core.SimpleString |
getQueueName() |
void |
handleLargeMessage(ClientLargeMessageInternal clientLargeMessage,
long largeMessageSize) |
void |
handleLargeMessageContinuation(byte[] chunk,
int flowControlSize,
boolean isContinues) |
void |
handleMessage(ClientMessageInternal message) |
void |
individualAcknowledge(ClientMessage message) |
boolean |
isBrowseOnly() |
Thread |
prepareForClose(FutureLatch future)
To be called by things like MDBs during shutdown of the server
|
void |
start() |
void |
stop(boolean waitForOnMessage) |
close, getConsumerContext, getLastException, getMessageHandler, isClosed, receive, receive, receiveImmediate, setMessageHandlerorg.apache.activemq.artemis.api.core.SimpleString getQueueName()
org.apache.activemq.artemis.api.core.SimpleString getFilterString()
boolean isBrowseOnly()
void handleMessage(ClientMessageInternal message) throws Exception
Exceptionvoid handleLargeMessage(ClientLargeMessageInternal clientLargeMessage, long largeMessageSize) throws Exception
Exceptionvoid handleLargeMessageContinuation(byte[] chunk,
int flowControlSize,
boolean isContinues)
throws Exception
Exceptionvoid flowControl(int messageBytes,
boolean discountSlowConsumer)
throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQExceptionvoid clear(boolean waitForOnMessage)
throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQExceptionThread prepareForClose(FutureLatch future) throws org.apache.activemq.artemis.api.core.ActiveMQException
future - org.apache.activemq.artemis.api.core.ActiveMQExceptionvoid clearAtFailover()
int getClientWindowSize()
int getBufferSize()
void cleanUp()
throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQExceptionvoid acknowledge(ClientMessage message) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQExceptionvoid individualAcknowledge(ClientMessage message) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQExceptionvoid flushAcks()
throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQExceptionvoid stop(boolean waitForOnMessage) throws org.apache.activemq.artemis.api.core.ActiveMQException
org.apache.activemq.artemis.api.core.ActiveMQExceptionvoid start()
ClientSession.QueueQuery getQueueInfo()
Copyright © 2023 The Apache Software Foundation. All rights reserved.