Skip to content

Conversation

artembilan
Copy link
Member

Currently, the MessageTriggerAction.trigger is configured on the BaseIntegrationFlowDefinition to be called via reflection in the MessagingMethodInvokerHelper

  • Represent a MessageTriggerAction.trigger as a Consumer<Message<?>> method reference and use a LambdaMessageProcessor for direct call
  • Add a Consumer support for LambdaMessageProcessor

Currently, the `MessageTriggerAction.trigger` is configured
on the `BaseIntegrationFlowDefinition` to be called via reflection
in the `MessagingMethodInvokerHelper`

* Represent a `MessageTriggerAction.trigger` as a `Consumer<Message<?>>` method reference
and use a `LambdaMessageProcessor` for direct call
* Add a `Consumer` support for `LambdaMessageProcessor`
@artembilan artembilan added this to the 6.1.0-RC1 milestone Apr 13, 2023
@garyrussell garyrussell merged commit aaaa489 into spring-projects:main Apr 13, 2023
@artembilan artembilan deleted the DSL_optimize_trigger_call branch April 13, 2023 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants