public interface AdaptrisMessageConsumer extends AdaptrisMessageWorker
Implementations of AdaptrisMessageConsumer
obtain data, convert it into an AdaptrisMessage
and pass
the message to the registered AdaptrisMessageListener
.
CONFIRMATION_ID_KEY
Modifier and Type | Method and Description |
---|---|
ConsumeDestination |
getDestination()
Returns the
ConsumeDestination to use. |
void |
registerAdaptrisMessageListener(AdaptrisMessageListener listener)
Sets the
AdaptrisMessageListener to use. |
void |
setDestination(ConsumeDestination destination)
Sets the
ConsumeDestination to use. |
decode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactory
getUniqueId
close, init, start, stop
prepare
createName, createQualifier, isConfirmation, isTrackingEndpoint
void registerAdaptrisMessageListener(AdaptrisMessageListener listener)
Sets the AdaptrisMessageListener
to use.
listener
- the AdaptrisMessageListener
to useConsumeDestination getDestination()
Returns the ConsumeDestination
to use.
Object
's ConsumeDestination
void setDestination(ConsumeDestination destination)
Sets the ConsumeDestination
to use.
destination
- the name of the destination