Move JmsHandlerMethodFactory to spring-messaging
This commit moves JmsHandlerMethodFactory and its default implementation to the messaging abstraction. Working on a similar support for AMQP revealed that this factory has nothing that is JMS specific and is exactly identical in the case of AMQP. Issue: SPR-12053
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
http://www.springframework.org/schema/jms
|
||||
http://www.springframework.org/schema/jms/spring-jms-4.1.xsd">
|
||||
|
||||
<jms:annotation-driven handler-method-factory="jmsHandlerMethodFactory"/>
|
||||
<jms:annotation-driven handler-method-factory="customMessageHandlerMethodFactory"/>
|
||||
|
||||
<bean id="jmsHandlerMethodFactory" class="org.springframework.jms.config.DefaultJmsHandlerMethodFactory">
|
||||
<bean id="customMessageHandlerMethodFactory" class="org.springframework.messaging.handler.annotation.support.DefaultMessageHandlerMethodFactory">
|
||||
<property name="validator">
|
||||
<bean class="org.springframework.jms.annotation.AbstractJmsAnnotationDrivenTests$TestValidator"/>
|
||||
</property>
|
||||
|
||||
Reference in New Issue
Block a user