@ComponentProfile(summary="Allows you to aggregate messages from the filesystem", tag="service,aggregation") public class AggregatingFsConsumeService extends AggregatingConsumeServiceImpl<NullConnection>
AggregatingConsumeService
that allows you to consume a related message from a directory based on some
criteria.In the adapter configuration file this class is aliased as aggregating-fs-consume-service which is the preferred alternative to the fully qualified classname when building your configuration.
log
Constructor and Description |
---|
AggregatingFsConsumeService() |
Modifier and Type | Method and Description |
---|---|
void |
doService(AdaptrisMessage msg)
Apply the service to the message.
|
AggregatingFsConsumer |
getFsConsumer() |
protected void |
initService() |
void |
prepare()
Prepare for initialisation.
|
void |
setFsConsumer(AggregatingFsConsumer fsConsumer) |
closeService, start, start, stop, stop
changeState, close, continueOnFailure, createName, createQualifier, getContinueOnFail, getIsTrackingEndpoint, getUniqueId, init, isBranching, isTrackingEndpoint, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, setContinueOnFail, setIsTrackingEndpoint, setUniqueId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
continueOnFailure, isBranching, setUniqueId
createName, createQualifier, isTrackingEndpoint
changeState, requestClose, requestInit, requestStart, requestStop, retrieveComponentState
getUniqueId
close, init
protected void initService() throws CoreException
initService
in class AggregatingConsumeServiceImpl<NullConnection>
CoreException
public void doService(AdaptrisMessage msg) throws ServiceException
Service
Apply the service to the message.
msg
- the AdaptrisMessage
to processServiceException
- wrapping any underlying Exception
spublic AggregatingFsConsumer getFsConsumer()
public void setFsConsumer(AggregatingFsConsumer fsConsumer)
fsConsumer
- the fsConsumer to setpublic void prepare() throws CoreException
ComponentLifecycleExtension
CoreException