|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MQControl
MQ Control base interface
Nested Class Summary | |
---|---|
static interface |
MQControl.Connection
|
static interface |
MQControl.ConnectionPool
|
static class |
MQControl.ConnectionType
|
static interface |
MQControl.SSLSettings
Capture the properties if the user has chosen TCP as the connection type |
static interface |
MQControl.TCPSettings
Capture the properties if the user has chosen TCP as the connection type |
Method Summary | |
---|---|
void |
begin()
Begins a MQ transaction |
void |
commit()
Commits a MQ transaction |
byte[] |
getMessageAsBytes(String queue,
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd)
Gets a byte array(binary) message from the queue This function calls the generic getMessage function |
String |
getMessageAsString(String queue,
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd)
Gets a String(text) message from the queue This function calls the generic getMessage function |
org.apache.xmlbeans.XmlObject |
getMessageAsXml(String queue,
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd)
Gets a XmlObject(xml) message from the queue This function calls the generic getMessage function |
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument |
getMQMDHeaders()
Returns the MQMDHeadersDocument obtained after calling any of the getMessage or putMessage functions. |
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument |
putMessageAsBytes(byte[] message,
String queue,
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd)
Puts a byte array(binary) message into the queue This function calls the generic putMessage function |
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument |
putMessageAsString(String message,
String queue,
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd)
Puts a String(text) message into the queue This function calls the generic putMessage function |
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument |
putMessageAsXml(org.apache.xmlbeans.XmlObject message,
String queue,
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd)
Puts a XmlObject(xml) message into the queue This function calls the generic putMessage function |
void |
rollback()
Rolls back a MQ transaction |
void |
setClientSideSSL(String keyStoreLocation,
String keyStoreType,
String keyStorePassword,
String keyPassword)
Sets the client side SSL properties for two way ssl |
void |
setDynamicProperties(com.bea.wli.control.mqDynamicProperties.MQDynamicPropertiesDocument mqDynPropsDoc)
Sets the dynamic properties for the control. |
void |
setRemoteQueueManager(String remoteQueueManager)
Returns the MQMDHeadersDocument obtained after calling any of the getMessage or putMessage functions. |
void |
setServerSideSSL(String trustStoreLocation,
String trustStoreType,
String trustStorePassword)
Sets the server side SSL property for one way ssl |
void |
setSSLCipherSuite(String cipherSuite)
Sets the cipher suite to be used for SSL |
Method Detail |
---|
void begin() throws javax.resource.ResourceException
ResourceException
- if transaction state is invalidvoid rollback() throws javax.resource.ResourceException
ResourceException
- if transaction state is invalidvoid commit() throws javax.resource.ResourceException
ResourceException
- if transaction state is invalidbyte[] getMessageAsBytes(String queue, com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd) throws javax.resource.ResourceException
queue
- the queue from which the message is to be gotmqmd
- the MQMDHeaders document containing the MQMD attributes based on which the message is to be got
ResourceException
- if any exception occurs while getString getMessageAsString(String queue, com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd) throws javax.resource.ResourceException
queue
- the queue from which the message is to be gotmqmd
- the MQMDHeaders document containing the MQMD attributes based on which the message is to be got
ResourceException
- if any exception occurs while getorg.apache.xmlbeans.XmlObject getMessageAsXml(String queue, com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd) throws javax.resource.ResourceException
queue
- the queue from which the message is to be gotmqmd
- the MQMDHeaders document containing the MQMD attributes based on which the message is to be got
ResourceException
- if any exception occurs while getcom.bea.wli.control.mqmdHeaders.MQMDHeadersDocument putMessageAsXml(org.apache.xmlbeans.XmlObject message, String queue, com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd) throws javax.resource.ResourceException
message
- the xml message to be put into the queuequeue
- the queue to which the message is to be putmqmd
- the MQMDHeaders document containing the MQMD attributes of the message to be put
ResourceException
- if any exception occurs while putcom.bea.wli.control.mqmdHeaders.MQMDHeadersDocument putMessageAsString(String message, String queue, com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd) throws javax.resource.ResourceException
message
- the String message to be put into the queuequeue
- the queue to which the message is to be putmqmd
- the MQMDHeaders document containing the MQMD attributes of the message to be put
ResourceException
- if any exception occurs while putcom.bea.wli.control.mqmdHeaders.MQMDHeadersDocument putMessageAsBytes(byte[] message, String queue, com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument mqmd) throws javax.resource.ResourceException
message
- the byte array message to be put into the queuequeue
- the queue to which the message is to be putmqmd
- the MQMDHeaders document containing the MQMD attributes of the message to be put
ResourceException
- if any exception occurs while putvoid setServerSideSSL(String trustStoreLocation, String trustStoreType, String trustStorePassword) throws ControlException
trustStoreLocation
- String representing the trustStoreLocationtrustStoreType
- String representing the truststoreTypetrustStorePassword
- String representing the truststorePassword
ControlException
void setClientSideSSL(String keyStoreLocation, String keyStoreType, String keyStorePassword, String keyPassword)
keyStoreLocation
- String representing keyStoreLocationkeyStoreType
- String representing keyStoreTypekeyStorePassword
- String representing keyStorePasswordkeyPassword
- String representing keyPasswordvoid setDynamicProperties(com.bea.wli.control.mqDynamicProperties.MQDynamicPropertiesDocument mqDynPropsDoc) throws ControlException
mqDynPropsDoc
- the MQDynamicProperties document containing the dynamic properties to be set
ControlException
void setSSLCipherSuite(String cipherSuite)
cipherSuite
- String representing the cipher suitevoid setRemoteQueueManager(String remoteQueueManager)
com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument getMQMDHeaders()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |