|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MQConnectionService
The MQConnectionService interface provides MQConnection services.
Field Summary | |
---|---|
static java.lang.String |
CODEPAGE
|
static java.lang.String |
DSEUSER
|
static int |
MQ_CHANNEL_NAME_LENGTH
|
static int |
MQCACH_CHANNEL_NAME
|
static int |
MQCC_OK
|
static int |
MQCCSI_DEFAULT
|
static int |
MQCFC_LAST
|
static int |
MQCFH_STRUC_LENGTH
|
static int |
MQCFH_VERSION_1
|
static int |
MQCFIN_STRUC_LENGTH
|
static int |
MQCFST_STRUC_LENGTH_FIXED
|
static int |
MQCFT_COMMAND
|
static int |
MQCFT_INTEGER
|
static int |
MQCFT_STRING
|
static int |
MQCHS_BINDING
|
static int |
MQCHS_INACTIVE
|
static int |
MQCHS_INITIALIZING
|
static int |
MQCHS_PAUSED
|
static int |
MQCHS_REQUESTING
|
static int |
MQCHS_RETRYING
|
static int |
MQCHS_RUNNING
|
static int |
MQCHS_STARTING
|
static int |
MQCHS_STOPPED
|
static int |
MQCHS_STOPPING
|
static int |
MQCMD_INQUIRE_CHANNEL_STATUS
|
static int |
MQCMD_RESET_CHANNEL
|
static int |
MQCMD_START_CHANNEL
|
static int |
MQCMD_STOP_CHANNEL
|
static int |
MQIACH_CHANNEL_STATUS
|
static int |
MQIACH_MSG_SEQUENCE_NUMBER
|
static int |
MQRC_NONE
|
static int |
MQRCCF_CHANNEL_IN_USE
|
static java.lang.String |
NORC
|
Fields inherited from interface com.ibm.btt.services.comms.CommonCommunicationsService |
---|
CLOSED, DATA, DATASENT, ERROR, OPENED, RECEIVERC, TIMEOUT |
Method Summary | |
---|---|
void |
addQueueListener(QueueListener newListener)
Adds a listener to the queue. |
void |
closeConnection()
Disconnects the service from the MQManager and removes the used queues. |
void |
establishConnection()
Establishes a connection with an MQManager. |
void |
fireMessageReceived(QueueEvent event)
Provides support for listener events. |
boolean |
getAutomaticConnectionEstablishment()
Gets the AutomaticConnectionEstablishment property (boolean) value. |
java.lang.String |
getDeadLetterQName()
Gets the deadLetterQName property (String) value. |
java.lang.String |
getStatus()
Gets the communication status. |
java.lang.Object |
receive(byte[] aCorrelationId)
Performs the receive method. |
java.lang.Object |
receive(byte[] aCorrelationId,
long aTimeout)
Performs the receive method. |
void |
removeQueueListener(QueueListener newListener)
Removes the queue listener. |
byte[] |
send(java.lang.Object inputMessage)
Sends a message to the queue. |
byte[] |
send(java.lang.String inputMessage)
Sends a message to the queue. |
void |
terminate()
Terminates the conversation. |
Methods inherited from interface com.ibm.btt.services.comms.CommonCommunicationsService |
---|
ccClose, ccOpen, ccReceiveData, ccSendData, ccSendReceive, getCcClosedEventName, getCcDataReceivedEventName, getCcErrorReceivedEventName, getCcOpenedEventName, isFree, isOffline, setInUse |
Methods inherited from interface com.ibm.btt.base.ProcessorNotifier |
---|
addHandler, getHandlersList, getName, removeHandler, setName, signalEvent, signalEvent |
Field Detail |
---|
static final int MQCHS_INACTIVE
static final int MQCHS_BINDING
static final int MQCHS_STARTING
static final int MQCHS_RUNNING
static final int MQCHS_STOPPING
static final int MQCHS_RETRYING
static final int MQCHS_STOPPED
static final int MQCHS_REQUESTING
static final int MQCHS_PAUSED
static final int MQCHS_INITIALIZING
static final java.lang.String NORC
static final java.lang.String CODEPAGE
static final int MQCFST_STRUC_LENGTH_FIXED
static final int MQCFIN_STRUC_LENGTH
static final int MQ_CHANNEL_NAME_LENGTH
static final int MQCFT_COMMAND
static final int MQCFH_STRUC_LENGTH
static final int MQCFH_VERSION_1
static final int MQCMD_RESET_CHANNEL
static final int MQCMD_START_CHANNEL
static final int MQCMD_STOP_CHANNEL
static final int MQCMD_INQUIRE_CHANNEL_STATUS
static final int MQCFC_LAST
static final int MQCC_OK
static final int MQRC_NONE
static final int MQCFT_STRING
static final int MQCFT_INTEGER
static final int MQCACH_CHANNEL_NAME
static final int MQCCSI_DEFAULT
static final int MQIACH_CHANNEL_STATUS
static final int MQIACH_MSG_SEQUENCE_NUMBER
static final int MQRCCF_CHANNEL_IN_USE
static final java.lang.String DSEUSER
Method Detail |
---|
void addQueueListener(QueueListener newListener)
newListener
- com.ibm.btt.services.mq.QueueListenervoid closeConnection() throws java.lang.Exception
java.lang.Exception
void establishConnection() throws java.lang.Exception
java.lang.Exception
void fireMessageReceived(QueueEvent event)
event
- com.ibm.btt.services.mq.QueueEventboolean getAutomaticConnectionEstablishment()
java.lang.String getDeadLetterQName()
java.lang.String getStatus()
#setSessionStatus
java.lang.Object receive(byte[] aCorrelationId) throws java.lang.Exception
correlationId
- The message correlation identifier to get the correct message
java.lang.Exception
java.lang.Object receive(byte[] aCorrelationId, long aTimeout) throws java.lang.Exception
correlationId
- The message correlation identifier to get the correct messagetimeout
-
java.lang.Exception
void removeQueueListener(QueueListener newListener)
newListener
- com.ibm.btt.services.mq.QueueListenerbyte[] send(java.lang.Object inputMessage) throws java.lang.Exception
aString
- The message to be sent
java.lang.Exception
byte[] send(java.lang.String inputMessage) throws java.lang.Exception
aString
- java.lang.String - The message to be sent
java.lang.Exception
void terminate()
terminate
in interface ProcessorNotifier
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |