Package org.frankframework.processors
Class AbstractPipeProcessor
java.lang.Object
org.frankframework.processors.AbstractPipeProcessor
- All Implemented Interfaces:
PipeProcessor
- Direct Known Subclasses:
CheckMessageSizePipeProcessor
,ExceptionHandlingPipeProcessor
,InputOutputPipeProcessor
,LimitingParallelExecutionPipeProcessor
,LockerPipeProcessor
,MonitoringPipeProcessor
,TrackPreviousPipeInMetadataProcessor
,TransactionAttributePipeProcessor
Baseclass for PipeProcessors.
- Since:
- 4.11
- Author:
- Gerrit van Brakel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprocessPipe
(PipeLine pipeLine, IPipe pipe, Message message, PipeLineSession pipeLineSession) protected abstract PipeRunResult
processPipe
(PipeLine pipeLine, IPipe pipe, Message message, PipeLineSession pipeLineSession, ThrowingFunction<Message, PipeRunResult, PipeRunException> chain) void
setPipeProcessor
(PipeProcessor pipeProcessor) validate
(PipeLine pipeLine, IValidator validator, Message message, PipeLineSession pipeLineSession, String messageRoot)
-
Field Details
-
log
protected org.apache.logging.log4j.Logger log
-
-
Constructor Details
-
AbstractPipeProcessor
public AbstractPipeProcessor()
-
-
Method Details
-
processPipe
protected abstract PipeRunResult processPipe(@Nonnull PipeLine pipeLine, @Nonnull IPipe pipe, @Nullable Message message, @Nonnull PipeLineSession pipeLineSession, @Nonnull ThrowingFunction<Message, PipeRunResult, throws PipeRunExceptionPipeRunException> chain) - Throws:
PipeRunException
-
processPipe
public PipeRunResult processPipe(@Nonnull PipeLine pipeLine, @Nonnull IPipe pipe, @Nullable Message message, @Nonnull PipeLineSession pipeLineSession) throws PipeRunException - Specified by:
processPipe
in interfacePipeProcessor
- Throws:
PipeRunException
-
validate
public PipeRunResult validate(@Nonnull PipeLine pipeLine, @Nonnull IValidator validator, @Nullable Message message, @Nonnull PipeLineSession pipeLineSession, String messageRoot) throws PipeRunException - Specified by:
validate
in interfacePipeProcessor
- Throws:
PipeRunException
-
setPipeProcessor
-