Hi,
I'm having trouble hitting a bean su with camel. I've tried numerous
ways of specifying the bean endpoint. I always get the same error:
| ERROR | pool-flow.seda.servicemix-camel-thread-6 |
DeadLetterChannel | .apache.camel.processor.Logger 189 | Failed
delivery for exchangeId: ID-[ ]-/2686-1228729911218/0-7. On delivery
attempt: 0 caught:
org.apache.camel.component.bean.NoBeanAvailableException: No bean
available for endpoint:
http://servicemix.apache.org/replaceMe:service1/onMessageExchange
here http://servicemix.apache.org/replaceMe:service1 is the same as in
the xbean of the endpoint and onMessageExchange is the only function in
that class.
Q1: How do I correctly specify the endpoint in the routeBuilder?
Q2: Is it necessary to have annotations in the bean? I tried various
(including none), didn't work
My route is a simple forwarder like: from (IN).to(BEAN_ENDPOINT).
Thanks,
Sylvester