You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider introducing a .interceptor(ChannelInterceptor...) method to the flow builder for adding interceptors to the current (possibly implicit) channel. At the moment the best way to do this is
…ition
Adds an `interceptor()` builder method to register one or more
channel interceptors at the current flow position.
Fixesspring-projects#3204
* add `interceptor(ChannelInterceptor...)` to `BaseIntegrationFlowDefinition`
* refactor to reuse interceptable channel creation from `wireTap`
…ition
Adds an `intercept()` builder method to register one or more
channel interceptors at the current flow position.
Fixesspring-projects#3204
* add `intercept(ChannelInterceptor...)` to `BaseIntegrationFlowDefinition`
* refactor to reuse interceptable channel creation from `wireTap`
* document the new operator
Enhancement
Consider introducing a
.interceptor(ChannelInterceptor...)
method to the flow builder for adding interceptors to the current (possibly implicit) channel. At the moment the best way to do this isOne could argue that this is a clear separation of concerns, however,
wireTap
has also been lifted up to the flow builder.Example usage: Adding values to the Mapped Diagnostic Context (MDC) for incoming messages and cleaning up in
ChannelInterceptor#afterSendCompletion
.The text was updated successfully, but these errors were encountered: