mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 08:19:01 +00:00
Merge pull request #692 from garyrussell/SPR-12425
* SPR-12425: Add Id to JmsListenerEndpoint Docs
This commit is contained in:
@@ -43561,6 +43561,7 @@ programmatically in addition to the ones that are detected by the `JmsListener`
|
||||
@Override
|
||||
public void configureJmsListeners(JmsListenerEndpointRegistrar registrar) {
|
||||
SimpleJmsListenerEndpoint endpoint = new SimpleJmsListenerEndpoint();
|
||||
endpoint.setId("myJmsEndpoint");
|
||||
endpoint.setDestination("anotherQueue");
|
||||
endpoint.setMessageListener(message -> {
|
||||
// processing
|
||||
|
||||
Reference in New Issue
Block a user