public abstract class OutputInteraction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
Constructor and Description |
---|
OutputInteraction(OutputConnector connector) |
Modifier and Type | Method and Description |
---|---|
OutputConnector |
getConnector()
Returns the OutputConnector 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 java.util.Properties |
send(java.util.Properties overrideProps,
OutputRecord record)
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 OutputInteraction(OutputConnector connector) throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException
public abstract java.util.Properties send(java.util.Properties overrideProps, OutputRecord record) throws com.ibm.broker.plugin.MbException
overrideProps
- The properties to override for this call.record
- 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 OutputConnector getConnector() throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException