I tried it with the last camel version from the trunk...
but now I'm getting the following exception:
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at $Proxy23.say(Unknown Source)
...
Caused by: java.lang.reflect.InvocationTargetException
at
org.apache.camel.component.bean.CamelInvocationHandler.invoke(CamelInvocationHandler.java:50)
... 3 more
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:228)
at java.util.concurrent.FutureTask.get(FutureTask.java:91)
at
org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:99)
at
org.apache.camel.component.bean.CamelInvocationHandler.invoke(CamelInvocationHandler.java:47)
... 3 more
I used the spring configs posted earlier and just replaced the camel-jars.
Do I need to change anything else?
Carsten
James.Strachan wrote:
>
> FWIW currently BeanInvocation implements Externalizable so it should
> work fine when used as the body of a JMS message. Though this is based
> on trunk; so you might want to try that (or 1.3.0 when its released)
>
>
--
View this message in context:
http://www.nabble.com/spring-remoting-over-jms-tp14640388s22882p14693278.html
Sent from the Camel - Users mailing list archive at Nabble.com.