Class AsyncMessageProcessor
java.lang.Object
MessageProcessor
com.swiftmq.impl.jms.standard.v750.AsyncMessageProcessor
public class AsyncMessageProcessor
extends MessageProcessor
-
Constructor Summary
ConstructorDescriptionAsyncMessageProcessor
(Session session, SessionContext ctx, Consumer consumer, int consumerCacheSize, int recoveryEpoche) -
Method Summary
Modifier and TypeMethodDescriptionint
long
boolean
boolean
isValid()
void
processException
(Exception exception) void
processMessage
(MessageEntry messageEntry) void
processMessages
(int numberMessages) void
register()
void
reset()
void
run()
void
setConsumerCacheSize
(int consumerCacheSize) void
setMaxBulkSize
(long maxBulkSize) void
stop()
-
Constructor Details
-
AsyncMessageProcessor
public AsyncMessageProcessor(Session session, SessionContext ctx, Consumer consumer, int consumerCacheSize, int recoveryEpoche)
-
-
Method Details
-
getMaxBulkSize
public long getMaxBulkSize() -
setMaxBulkSize
public void setMaxBulkSize(long maxBulkSize) -
getConsumerCacheSize
public int getConsumerCacheSize() -
setConsumerCacheSize
public void setConsumerCacheSize(int consumerCacheSize) -
isValid
public boolean isValid() -
stop
public void stop() -
reset
public void reset() -
processMessages
public void processMessages(int numberMessages) -
processMessage
public void processMessage(MessageEntry messageEntry) -
processException
-
isStarted
public boolean isStarted() -
register
public void register() -
run
public void run() -
getDescription
-
getDispatchToken
-