Could you share the bean code with us? Sent from a mobile device Am 29.08.2012 10:29 schrieb "me.mehta" <meenumee...@gmail.com>:
> 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. >