Hi all,
I want to test splitter processor and i have implemented my own Splitter
expression in java code:

Public class MySplitter extends Expression{

        public Object evaluate(Exchange arg0) {
                //my code
        }
}

<bean id="mySplitter"
class="com.francetelecom.apt.orange.camel.expressions.SplitterExpression">
<property name="size" value="3"/>
</bean>


<route>
        <from uri="wsadapter" />                
        <splitter>
                <expression>
                         <bean ref="mySplitter"/>
                </expression>
                <to uri="seda:b" /> 
        </splitter> 
</route>

My problem now is to create a route that use a splitter, in an xml config
file.
I did not found an example that describes how to declare splitter with a
"bean expression".
Any idea?

Thanks in advance,
Best regards,
Mta38

-- 
View this message in context: 
http://www.nabble.com/splitter-bean-as-expression-tp21749908s22882p21749908.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to