Hi What Camel version do you use? Also how do you run this. Do you use Spring or OSGi or what?
On Wed, Aug 29, 2012 at 10:24 AM, me.mehta <[email protected]> wrote: > 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. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
