Add validation in Receiver (Take 2)#10923
Open
tnleeuw wants to merge 48 commits into
Open
Conversation
…idator.java Co-authored-by: Erik <dongenevan@gmail.com>
…' into feature/6989_ValidatorInReceiver
… through the Adapter to do that for us
…unctionality much closer to validation specified on the pipeline. Gives much better error handling than the first approach.
11 tasks
…nByPipelineProcessor # Conflicts: # core/src/main/java/org/frankframework/core/PipeLine.java
…in error conditions
…nByPipelineProcessor
evandongen
approved these changes
Jun 5, 2026
evandongen
left a comment
Contributor
There was a problem hiding this comment.
Wat een klus zeg. Mooi werk. Paar kleine dingetjes, verder akkoord!
Contributor
There was a problem hiding this comment.
Dit was 'm waarschijnlijk? (voor de ladybug issues met aop)
Contributor
Author
There was a problem hiding this comment.
Dat, en daarvoor moest ik ook ongebruikte parameters toevoegen aan de method zelf...
…nByPipelineProcessor # Conflicts: # core/src/main/java/org/frankframework/processors/CorePipeLineProcessor.java # core/src/main/resources/xml/xsd/FrankConfig-compatibility.xsd # core/src/main/resources/xml/xsd/FrankConfig.xsd
…nByPipelineProcessor
…nByPipelineProcessor
…nByPipelineProcessor
…nByPipelineProcessor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Changes
Add validation/wrapping directly on receivers, as an option.
Closes #6989.
This PR supercedes #10913
The new PR touches more files and changes the signature of the method
Pipeline#process()to add the Receiver that invoked the pipeline.This required a surprising number of fixes in tests.
However, the advantage of this is consistency with how validators/wrappers work when defined on pipelines and senders, and better error handling / construction of better error messages.
Pull Request Checklist
Title
Issues
Backports
Documentation
Tests
Breaking changes