hi, guys
I find a problem with spring jms remoting, maybe it's not problem, here is the details:
when I use DefaultMessageListenerContainer with JmsInvokerServiceExporter, the Message can't be received and can't be processed either,
but when I change the container type to SimpleMessageListenerContainer, it works, this behavior confused me.
as to the javadoc of JmsInvokerServiceExporter, it deemed to be used with DefaultMessageListenerContainer :
but why DefaultMessageListenerContainer doesn't work , and SimpleMessageListenerContainer do?!* <p>Note that this class implements Spring's
* {@link org.springframework.jms.listener.SessionAwareMessa geListener}
* interface, since it requires access to the active JMS Session.
* Hence, this class can only be used with message listener containers
* which support the SessionAwareMessageListener interface (e.g. Spring's
* {@link org.springframework.jms.listener.DefaultMessageLis tenerContainer}).
who can help me find out the truth behind this?!![]()


Reply With Quote
