Class QueueJNDIProcessor
java.lang.Object
com.swiftmq.swiftlet.queue.MessageProcessor
com.swiftmq.impl.jndi.standard.QueueJNDIProcessor
- All Implemented Interfaces:
com.swiftmq.swiftlet.threadpool.AsyncTask, Runnable
public class QueueJNDIProcessor
extends com.swiftmq.swiftlet.queue.MessageProcessor
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisValid()voidprocessException(Exception exception) voidprocessMessage(com.swiftmq.swiftlet.queue.MessageEntry messageEntry) voidrun()voidstop()Methods inherited from class com.swiftmq.swiftlet.queue.MessageProcessor
createBulkBuffer, getBulkBuffer, getCurrentBulkSize, getMaxBulkSize, getReceiverId, getRegistrationId, getRegistrationTime, getSelector, getTimeout, getTransactionId, getViewId, isAutoCommit, isBulkMode, processMessages, reset, setAutoCommit, setBulkMode, setCurrentBulkSize, setReceiverId, setRegistrationId, setRegistrationTime, setTransactionId, setViewId
-
Method Details
-
isValid
public boolean isValid() -
processMessage
public void processMessage(com.swiftmq.swiftlet.queue.MessageEntry messageEntry) - Specified by:
processMessagein classcom.swiftmq.swiftlet.queue.MessageProcessor
-
processException
- Specified by:
processExceptionin classcom.swiftmq.swiftlet.queue.MessageProcessor
-
getDispatchToken
- Specified by:
getDispatchTokenin interfacecom.swiftmq.swiftlet.threadpool.AsyncTask- Overrides:
getDispatchTokenin classcom.swiftmq.swiftlet.queue.MessageProcessor
-
getDescription
- Specified by:
getDescriptionin interfacecom.swiftmq.swiftlet.threadpool.AsyncTask- Overrides:
getDescriptionin classcom.swiftmq.swiftlet.queue.MessageProcessor
-
stop
public void stop()- Specified by:
stopin interfacecom.swiftmq.swiftlet.threadpool.AsyncTask- Overrides:
stopin classcom.swiftmq.swiftlet.queue.MessageProcessor
-
run
-
close
public void close()
-