Announcement Announcement Module
No announcement yet.
problem I can't figure out with spring jms remoting Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem I can't figure out with spring jms remoting

    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 :
    * <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}).
    but why DefaultMessageListenerContainer doesn't work , and SimpleMessageListenerContainer do?!

    who can help me find out the truth behind this?!

  • #2
    aaaaaaa, sorry,
    maybe it's a problem with <jms:listener>

    when I use the traditional bean defintion, simple and default message listener container both work,