在Spring 5中,DefaultMessageListenerContainer的JMS docment澄清了所需的目标

时间:2019-02-06 14:25:03

标签: spring jms

<!-- this is the Message Driven POJO (MDP) -->
<bean id="messageListener" class="jmsexample.ExampleListener"/>

<!-- and this is the message listener container -->
<bean id="jmsContainer"    
class="org.springframework.jms.listener.DefaultMessageListenerContainer">
<property name="connectionFactory" ref="connectionFactory"/>
<property name="destination" ref="destination"/>
<property name="messageListener" ref="messageListener"/>
</bean>

https://docs.spring.io/spring/docs/current/spring-framework-reference/integration.html#jms

如何在属性名称=“ destination” ref =“ destination”中定义bean ref'destination'

0 个答案:

没有答案