camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <christian.muel...@gmail.com>
Subject Re: Using custom bean for splitter using spring camel.
Date Wed, 29 Aug 2012 14:06:15 GMT
Could you share the bean code with us?

Sent from a mobile device
Am 29.08.2012 10:29 schrieb "me.mehta" <meenumeenu4@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.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message