I was originally getting the queuename from a String (via JNDI) but needed to
create an Endpoint instead..
<bean id="jmsInQueue"
class="org.apache.camel.spring.CamelEndpointFactoryBean"
p:uri-ref="jmsInQueueName"/>
<bean id="jmsOutQueue"
class="org.apache.camel.spring.CamelEndpointFactoryBean"
p:uri-ref="jmsOutQueueName"/>
Now it all works nicely :)
Thanks
Best regards
Ray
--
View this message in context:
http://camel.465427.n5.nabble.com/Odd-stacktrace-when-starting-route-tp4366854p4367058.html
Sent from the Camel - Users mailing list archive at Nabble.com.