Hi,
I am trying to use a POJO for a splitter with spring.
I defined a bean as a splitter and set it as the split method like this:
<bean id="pojoSplitter" class="acme.splitters.PojoSplitter" />
<camel:split>
<camel:method bean="pojoSplitter" method="split" />
...
</camel:split>
but when a message reaches the route I get this exception:
org.apache.camel.NoSuchBeanException: No bean could be found in the registry
for: pojoSplitter.
I am sure the bean was created because I checked with jmx.
Thanks,
Jacob
--
View this message in context:
http://camel.465427.n5.nabble.com/split-with-spring-DSL-bean-tp3405576p3405576.html
Sent from the Camel - Users mailing list archive at Nabble.com.