|
|
Sample request-reply using new (spring 2.5) JMS namespace
I've been porting this 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:
lt;jms:listener-container connection-factory=quot;connectionFactoryquot;
container-type=quot;defaultquot; destination-type=quot;queuequot; gt;
lt;jms:listener destination=quot;requestQueuequot;
ref=quot;registrationServicequot; method=quot;processRequestquot; /gt;
lt;/jms:listener-containergt;
I get the following exception:
Caused by: java.lang.NoSuchMethodException: blog.jms.remoting.RegistrationServiceImpl.processR equest(org..remoting.support.Remote Invocation)
I think I've to write a custom message converter but I do not understand why!
Thanks in advance
Andrea |
|