提交 4942c5c1 编写于 作者: G Gary Russell 提交者: Stephane Nicoll

Add Id to JmsListenerEndpoint Docs

Issue: SPR-12425
上级 341eb062
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册