Add a note on JmsListenerEndpointRegistry
Issue: SPR-13606
This commit is contained in:
parent
7ba67cc3dd
commit
0039c74649
|
@ -2602,7 +2602,9 @@ what the <<jms-receiving-async-message-listener-adapter, `MessageListenerAdapter
|
||||||
provides).
|
provides).
|
||||||
|
|
||||||
The annotated endpoint infrastructure creates a message listener container
|
The annotated endpoint infrastructure creates a message listener container
|
||||||
behind the scenes for each annotated method, using a `JmsListenerContainerFactory`.
|
behind the scenes for each annotated method, using a `JmsListenerContainerFactory`. Such
|
||||||
|
container is not registered against the application context but can be easily
|
||||||
|
located for management purposes using the `JmsListenerEndpointRegistry` bean.
|
||||||
|
|
||||||
TIP: `@JmsListener` is a _repeatable_ annotation so it is possible to associate several
|
TIP: `@JmsListener` is a _repeatable_ annotation so it is possible to associate several
|
||||||
JMS destinations to the same method by adding additional `@JmsListener` declaration on
|
JMS destinations to the same method by adding additional `@JmsListener` declaration on
|
||||||
|
|
Loading…
Reference in New Issue