|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
MQ Control base interface
| Nested Class Summary |
| Nested classes inherited from class com.bea.control.Control |
com.bea.control.Control.Callback |
| 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 |
com.bea.xml.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(com.bea.xml.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 |
public void begin()
throws javax.resource.ResourceException
ResourceException - if transaction state is invalid
public void rollback()
throws javax.resource.ResourceException
ResourceException - if transaction state is invalid
public void commit()
throws javax.resource.ResourceException
ResourceException - if transaction state is invalid
public byte[] 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 get
public String 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 get
public com.bea.xml.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 get
public com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument putMessageAsXml(com.bea.xml.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 put
public com.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 put
public com.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 put
public void setServerSideSSL(String trustStoreLocation,
String trustStoreType,
String trustStorePassword)
throws com.bea.control.ControlException
trustStoreLocation - String representing the trustStoreLocationtrustStoreType - String representing the truststoreTypetrustStorePassword - String representing the truststorePassword
com.bea.control.ControlException
public void setClientSideSSL(String keyStoreLocation,
String keyStoreType,
String keyStorePassword,
String keyPassword)
keyStoreLocation - String representing keyStoreLocationkeyStoreType - String representing keyStoreTypekeyStorePassword - String representing keyStorePasswordkeyPassword - String representing keyPassword
public void setDynamicProperties(com.bea.wli.control.mqDynamicProperties.MQDynamicPropertiesDocument mqDynPropsDoc)
throws com.bea.control.ControlException
mqDynPropsDoc - the MQDynamicProperties document containing the dynamic properties to be set
com.bea.control.ControlExceptionpublic void setSSLCipherSuite(String cipherSuite)
cipherSuite - String representing the cipher suitepublic void setRemoteQueueManager(String remoteQueueManager)
public com.bea.wli.control.mqmdHeaders.MQMDHeadersDocument getMQMDHeaders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||