public interface MqMgrIf
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).
|
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.
|
void postMessageToQueue(MqOptionsIf options) throws com.konakart.app.KKException
options
- the MQ optionscom.konakart.app.KKException
- an unexpected KKException exceptionMqResponseIf readMessageFromQueue(MqOptionsIf options) throws com.konakart.app.KKException
options
- the MQ optionscom.konakart.app.KKException
- an unexpected KKException exceptionMqResponseIf listMessagesOnQueue(MqOptionsIf options) throws com.konakart.app.KKException
options
- the MQ optionscom.konakart.app.KKException
- an unexpected KKException exceptionvoid purgeQueue(MqOptionsIf options) throws com.konakart.app.KKException
options
- the MQ optionscom.konakart.app.KKException
- an unexpected KKException exceptionvoid delayMessage(MqOptionsIf options) throws com.konakart.app.KKException
options
- the MqOptions object - set the brokerURL, the username, the Queue name, the
messageId and the mode.com.konakart.app.KKException
- an unexpected KKException exceptionvoid commit(MqOptionsIf options) throws com.konakart.app.KKException
options
- the MqOptions object - set the brokerURL, the username, the Queue name, the
messageId and the mode.com.konakart.app.KKException
- an unexpected KKException exceptionvoid removeReader(MqOptionsIf options) throws com.konakart.app.KKException
options
- the MqOptions object - set the brokerURL, the username, the Queue, name the
messageId and the mode.com.konakart.app.KKException
- an unexpected KKException exceptionvoid checkAPIAccessSupported(java.lang.String apiName, MqOptionsIf options) throws com.konakart.app.KKException
apiName
- 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.