Skip to content

Conversation

onobc
Copy link
Collaborator

@onobc onobc commented Jul 21, 2025

This commit fixes the case where SpEL expressions using the __listener. bean ref were failing due to the concrete impls of the AbstractPulsarAnnotationsBeanPostProcessor hiding/overriding their parent's listenerScope field by removing the listenerScope field from the following concrete impls:

  • PulsarListenerAnnotationBeanPostProcessor
  • ReactivePulsarListenerAnnotationBeanPostProcessor

Fixes #1169

This commit fixes the case where SpEL expressions using the `__listener.`
bean ref were failing due to the concrete impls of the
`AbstractPulsarAnnotationsBeanPostProcessor` hiding/overriding their
parent's `listenerScope` field by removing the `listenerScope` field from
the following concrete impls:
- PulsarListenerAnnotationBeanPostProcessor
- ReactivePulsarListenerAnnotationBeanPostProcessor

Fixes spring-projects#1169

Signed-off-by: Chris Bono <chris.bono@gmail.com>
@onobc onobc merged commit 1bcbeb3 into spring-projects:1.2.x Jul 21, 2025
7 checks passed
@onobc onobc deleted the GH-1169-remove-listenerScope-override branch July 21, 2025 05:22
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.

1 participant