Package com.adaptris.core
Interface AdaptrisMessageConsumer
- All Superinterfaces:
AdaptrisComponent,AdaptrisMessageWorker,ComponentLifecycle,ComponentLifecycleExtension,MessageEventGenerator
- All Known Implementing Classes:
AdaptrisMessageConsumerImp,AdaptrisPollingConsumer,BaseJmsPollingConsumerImpl,BasicJettyConsumer,FsConsumer,FsConsumerImpl,FtpConsumer,FtpConsumerImpl,FtpRecursiveConsumer,JettyMessageConsumer,JmsConsumer,JmsConsumerImpl,JmsPollingConsumer,JmsPollingConsumerImpl,JmsSyncConsumer,JmxNotificationConsumer,LargeFsConsumer,MovingNonDeletingFsConsumer,NonDeletingFsConsumer,NullMessageConsumer,PasConsumer,PasPollingConsumer,PollingTrigger,PtpConsumer,PtpPollingConsumer,RelaxedFtpConsumer,StandaloneConsumer,TraversingFsConsumer
Implementations of AdaptrisMessageConsumer
obtain data, convert it into an AdaptrisMessage and pass
the message to the registered AdaptrisMessageListener.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturn the specific metadata key that contains the consume location.voidSets theAdaptrisMessageListenerto use.Methods inherited from interface com.adaptris.core.AdaptrisComponent
getUniqueIdMethods inherited from interface com.adaptris.core.AdaptrisMessageWorker
decode, encode, getEncoder, getMessageFactory, handleConnectionException, registerConnection, retrieveConnection, setEncoder, setMessageFactoryMethods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stopMethods inherited from interface com.adaptris.core.ComponentLifecycleExtension
prepareMethods inherited from interface com.adaptris.core.MessageEventGenerator
createName, createQualifier, isTrackingEndpoint
-
Method Details
-
registerAdaptrisMessageListener
Sets the
AdaptrisMessageListenerto use.- Parameters:
listener- theAdaptrisMessageListenerto use
-
consumeLocationKey
Return the specific metadata key that contains the consume location.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.
- Returns:
- the metadata key;
- Since:
- 3.9.0
- Implementation Note:
- The default implementation returns null, indicating there is no way to standardise the consume location.
-