public interface OutputInteraction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
long |
asyncSend(java.util.Properties overrideProperties,
java.lang.Object data,
ConnectorCallback callback)
Send an output message asynchronously using the provided configuration properties which may augment or override the
properties set on the connector.
|
void |
initialise(OutputConnector connector)
Initialise the interaction by passing in the owning connector
|
java.util.Properties |
send(java.util.Properties overrideProperties,
java.lang.Object data)
Send an output message using the provided configuration properties which may augment or override the
properties set on the connector.
|
void |
terminate()
Called to allow the interaction to close any resources it may have created.
|
static final java.lang.String COPYRIGHT
void initialise(OutputConnector connector) throws ConnectorException
connector
- the owning connectorConnectorException
java.util.Properties send(java.util.Properties overrideProperties, java.lang.Object data) throws ConnectorException
overrideProperties
- the properties used to configure the sending operationdata
- the data to sendConnectorException
long asyncSend(java.util.Properties overrideProperties, java.lang.Object data, ConnectorCallback callback) throws ConnectorException
overrideProperties
- the properties used to configure the sending operationdata
- the data to sendConnectorException
void terminate() throws ConnectorException
ConnectorException