I am using following xml configuration for defining a custom bean for
splitter. 

  <camel:split stopOnException="true">
      <camel:method bean="splitterBean" method="split" /> 
       <camel:to ref="sodSQLEndPoint"/>
    </camel:split>

 <bean id="splitterBean" class="com.processor.SodFundListSplitter" />

It doesn't run and gives an error:

12:31:28.770 [main] WARN  org.apache.camel.util.ObjectHelper - Cannot find
class: splitterBean.

If I use <camel:simple>body</camel:simple> instead of the custome bean, it
works fine. Can anyone please tell me if there is anything extra to be done
for allowing custom bean with splitter.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Using-custom-bean-for-splitter-using-spring-camel-tp5718236.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to