Skip to content

Conversation

artembilan
Copy link
Member

Fixes #3953

The replying MessageHandler can resolve the target output channel in on-demand manner. A new messaging annotations on @Bean parsing algorithm is missing the lazy-load opportunity and uses a RuntimeBeanReference for output channel options loading its bean eagerly.

  • Fix AbstractMethodAnnotationPostProcessor to use a outputChannelName and defaultOutputChannelName target properties for channel names to set.

Fixes spring-projects#3953

The replying `MessageHandler` can resolve the target output channel in on-demand manner.
A new messaging annotations on `@Bean` parsing algorithm is missing the lazy-load
opportunity and uses a `RuntimeBeanReference` for output channel options
loading its bean eagerly.

* Fix `AbstractMethodAnnotationPostProcessor` to use a `outputChannelName` and
`defaultOutputChannelName` target properties for channel names to set.
@garyrussell garyrussell merged commit dc6f5aa into spring-projects:main Nov 28, 2022
@artembilan artembilan deleted the GH-3953 branch November 28, 2022 19:54
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.

Transformer output-channel bean could not be found

2 participants