Add Id to JmsListenerEndpoint Docs
Issue: SPR-12425
This commit is contained in:
committed by
Stephane Nicoll
parent
341eb06254
commit
4942c5c1fb
@@ -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