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() |
Thread |
getCurrentThread() |
SimpleString |
getFilterString() |
long |
getForceDeliveryCount() |
int |
getInitialWindowSize() |
int |
getPriority() |
ClientSession.QueueQuery |
getQueueInfo() |
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, setMessageHandler
SimpleString getQueueName()
SimpleString getFilterString()
int getPriority()
boolean isBrowseOnly()
void handleMessage(ClientMessageInternal message) throws Exception
Exception
void handleLargeMessage(ClientLargeMessageInternal clientLargeMessage, long largeMessageSize) throws Exception
Exception
void handleLargeMessageContinuation(byte[] chunk, int flowControlSize, boolean isContinues) throws Exception
Exception
void flowControl(int messageBytes, boolean discountSlowConsumer) throws ActiveMQException
ActiveMQException
void clear(boolean waitForOnMessage) throws ActiveMQException
ActiveMQException
Thread getCurrentThread()
Thread prepareForClose(FutureLatch future) throws ActiveMQException
future
- ActiveMQException
void clearAtFailover()
int getClientWindowSize()
int getInitialWindowSize()
int getBufferSize()
void cleanUp() throws ActiveMQException
ActiveMQException
void acknowledge(ClientMessage message) throws ActiveMQException
ActiveMQException
void individualAcknowledge(ClientMessage message) throws ActiveMQException
ActiveMQException
void flushAcks() throws ActiveMQException
ActiveMQException
void stop(boolean waitForOnMessage) throws ActiveMQException
ActiveMQException
void start()
ClientSession.QueueQuery getQueueInfo()
long getForceDeliveryCount()
Copyright © 2021 JBoss by Red Hat. All rights reserved.