public interface AdaptrisMessageConsumer extends AdaptrisMessageWorker
Implementations of AdaptrisMessageConsumer
obtain data, convert it into an AdaptrisMessage
and pass
the message to the registered AdaptrisMessageListener
.
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
consumeLocationKey()
Return the specific metadata key that contains the consume location.
|
void |
registerAdaptrisMessageListener(AdaptrisMessageListener listener)
Sets the
AdaptrisMessageListener to use. |
decode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactory
getUniqueId
close, init, start, stop
prepare
createName, createQualifier, isTrackingEndpoint
void registerAdaptrisMessageListener(AdaptrisMessageListener listener)
Sets the AdaptrisMessageListener
to use.
listener
- the AdaptrisMessageListener
to usedefault java.lang.String consumeLocationKey()
if specified; then the workflow will attempt to set "_interlokMessageConsumedFrom" as a standard metadata key. If not explicitly overriden, then this metadata key is not available.