public abstract class RequestInteraction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
Constructor and Description |
---|
RequestInteraction(RequestConnector connector) |
Modifier and Type | Method and Description |
---|---|
RequestConnector |
getConnector()
Returns the RequestConnector that constructed this interaction.
|
void |
initialize()
This is called by the integration node when the OutputInteraction is constructed.
|
void |
logSend()
This is called by the integration node after send to allow the connector writer to do their own logging.
|
abstract ResponseRecord |
request(java.util.Properties overrideProps,
RequestRecord reqRecord)
This is called by the integration node to send data to the system.
|
java.lang.String |
sentDestination()
This is called by the integration node after send to find out what destination was sent to.
|
void |
terminate()
This is called by the integration node when the OutputInteraction is no longer needed.
|
public static final java.lang.String copyright
public RequestInteraction(RequestConnector connector) throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException
public abstract ResponseRecord request(java.util.Properties overrideProps, RequestRecord reqRecord) throws com.ibm.broker.plugin.MbException
overrideProps
- The properties to override for this call.reqRecord
- A record that represents the data to be sent.com.ibm.broker.plugin.MbException
public void initialize() throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException
- Throwing an exception will cause the message flow node to throw an exception for the messaging being currently processed.public void terminate() throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException
- Throwing an exception will cause the exception to be written to the system log but no processing will be failed.public java.lang.String sentDestination() throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException
- Throwing an exception will cause the message flow node to throw an exception for the messaging being currently processed.public void logSend() throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException
- Throwing an exception will cause the message flow node to throw an exception for the messaging being currently processed.public final RequestConnector getConnector() throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException