Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding option to have an inbound event filter in the default event inbound pipeline #3819

Closed

Conversation

mkiener
Copy link
Contributor

@mkiener mkiener commented Jan 11, 2024

Adding a new option to have an event filter delegate expression within the default inbound event pipeline.

Check List:

  • Unit tests: YES
  • Documentation: NO


// if there is a custom filter in place, invoke it to filter the event for further processing or to abort the pipeline
if (inboundEventFilter != null) {
if (!inboundEventFilter.filter(event)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a debug logging statement here?

jbarrez added a commit that referenced this pull request Jan 15, 2024
- Move filtering into separate step of the pipeline
- Change method name to 'retain' to make purpose clearer
- Add logging
@jbarrez
Copy link
Contributor

jbarrez commented Jan 15, 2024

Merged manually: 895a8e4

@jbarrez jbarrez closed this Jan 15, 2024
@mkiener mkiener deleted the event-registry-adding-event-filter branch January 15, 2024 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants