| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
| Constructor and Description |
|---|
RabbitMqMgrEE()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkAPIAccessSupported(java.lang.String apiName,
MqOptionsIf options)
Check that the MQOptions parameters are supported through the specified KKEngIf API
|
void |
commit(MqOptionsIf options)
Commit all the messages read by the message reader (typically after successful processing).
|
void |
delayMessage(MqOptionsIf options)
Re-post the message with a delay (typically after unsuccessful processing).
|
protected com.rabbitmq.client.Connection |
getConnection(MqOptionsIf options) |
MqResponseIf |
listMessagesOnQueue(MqOptionsIf options)
Creates a string containing a list of the messages on the specified queue
|
void |
postMessageToQueue(MqOptionsIf options)
Post a message to a specified queue.
|
void |
purgeQueue(MqOptionsIf options)
Purge all messages from a specified queue.
|
MqResponseIf |
readMessageFromQueue(MqOptionsIf options)
Read a single message from a specified queue.
|
void |
removeReader(MqOptionsIf options)
Remove the message reader if it exists.
|
public RabbitMqMgrEE()
throws java.lang.Exception
java.lang.Exception - an unexpected exceptionpublic void postMessageToQueue(MqOptionsIf options) throws com.konakart.app.KKException
MqMgrIfpostMessageToQueue in interface MqMgrIfoptions - the MQ optionscom.konakart.app.KKException - an unexpected KKException exceptionpublic MqResponseIf readMessageFromQueue(MqOptionsIf options) throws com.konakart.app.KKException
MqMgrIfreadMessageFromQueue in interface MqMgrIfoptions - the MQ optionscom.konakart.app.KKException - an unexpected KKException exceptionpublic MqResponseIf listMessagesOnQueue(MqOptionsIf options) throws com.konakart.app.KKException
listMessagesOnQueue in interface MqMgrIfoptions - the MQ optionscom.konakart.app.KKException - an unexpected KKException exceptionpublic void purgeQueue(MqOptionsIf options) throws com.konakart.app.KKException
MqMgrIfpurgeQueue in interface MqMgrIfoptions - the MQ optionscom.konakart.app.KKException - an unexpected KKException exceptionprotected com.rabbitmq.client.Connection getConnection(MqOptionsIf options) throws java.security.KeyManagementException, java.security.NoSuchAlgorithmException, java.net.URISyntaxException, java.io.IOException, java.util.concurrent.TimeoutException
java.security.KeyManagementExceptionjava.security.NoSuchAlgorithmExceptionjava.net.URISyntaxExceptionjava.io.IOExceptionjava.util.concurrent.TimeoutExceptionpublic void removeReader(MqOptionsIf options) throws com.konakart.app.KKException
MqMgrIfremoveReader in interface MqMgrIfoptions - the MqOptions object - set the brokerURL, the username, the Queue, name the
messageId and the mode.com.konakart.app.KKException - an unexpected KKException exceptionpublic void delayMessage(MqOptionsIf options) throws com.konakart.app.KKException
MqMgrIfdelayMessage in interface MqMgrIfoptions - the MqOptions object - set the brokerURL, the username, the Queue name, the
messageId and the mode.com.konakart.app.KKException - an unexpected KKException exceptionpublic void commit(MqOptionsIf options) throws com.konakart.app.KKException
MqMgrIfpublic void checkAPIAccessSupported(java.lang.String apiName,
MqOptionsIf options)
throws com.konakart.app.KKException
MqMgrIfcheckAPIAccessSupported in interface MqMgrIfapiName - the name of the API calledoptions - the MQ Optionscom.konakart.app.KKException - if the specified MQ Options are not supported for this API callCopyright © 2018 DS Data Systems UK Ltd.