Announcement Announcement Module
Collapse
No announcement yet.
Sample request-reply using new (spring 2.5) JMS namespace Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sample request-reply using new (spring 2.5) JMS namespace

    I've been porting this http://blog.interface21.com/main/200...ith-spring-20/
    JMS sample using spring 2.5 JMS namespace

    So, while the original sample is working fine, when I change the content of server-context.xml like here:

    <jms:listener-container connection-factory="connectionFactory"
    container-type="default" destination-type="queue" >
    <jms:listener destination="requestQueue"
    ref="registrationService" method="processRequest" />
    </jms:listener-container>

    I get the following exception:

    Caused by: java.lang.NoSuchMethodException: blog.jms.remoting.RegistrationServiceImpl.processR equest(org.springframework.remoting.support.Remote Invocation)

    I think I've to write a custom message converter but I do not understand why!

    Thanks in advance
    Andrea
    Last edited by chiodonia; Dec 16th, 2007, 03:25 AM.
Working...
X