public abstract class OutputConnector
extends com.ibm.broker.connector.Connector
It is used by WebSphere Message Broker to send data to a system. It is created by the ConnectorFactory object which must also be implemented by a connector writer.
The OutputConnector is constructed when a node requiring it;s function is constructed. The following methods are called by Message Broker to interact with the connector:
initialize
is called a node using the connector is constructed.Terminate
is called when the node is stopped or destroyed.
The OutputConnector is called to create an OutputInteraction when ever a flow instance needs to send data to the system. The created OutputInteractions will be pooled for reuse on several threads.
createOutputInteraction
is called when Message Broker wants to send data to the end system with out receiving any response data. Override this method to create
an OutputInteraction that can interact with the end system.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
copyright |
Constructor and Description |
---|
OutputConnector(ConnectorFactory connectorFactory,
java.lang.String name,
java.util.Properties properties) |
Modifier and Type | Method and Description |
---|---|
abstract OutputInteraction |
createOutputInteraction()
This is called by broker to create an OutputInteraction to send data to the system.
|
OutputInteraction[] |
getInteractions()
Returns all OutputInteractions created by this connector that have not been terminated.
|
public static final java.lang.String copyright
public OutputConnector(ConnectorFactory connectorFactory, java.lang.String name, java.util.Properties properties) throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException
public abstract OutputInteraction createOutputInteraction() throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException
public final OutputInteraction[] getInteractions() throws com.ibm.broker.plugin.MbException
com.ibm.broker.plugin.MbException