Hey Guru

Are you using this CBR to route based on the Web service operations? Some
thing like follows


<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring";>
        <route>
            <from uri="cxf:bean:customer-ws"/>
            <choice>
                <when>
                    <simple>${in.header.operationName} ==
'updateCustomer'</simple>
                    <to uri="updateCustomer"/>
                </when>
                <when>
                    <simple>${in.header.operationName} ==
'lookupCustomer'</simple>
                    <to uri="lookupCustomer"/>
                </when>
                <when>
                    <simple>${in.header.operationName} ==
'getCustomerStatus'</simple>
                    <to uri="getCustomerStatus"/>
                </when>
            </choice>
        </route>
    </camelContext>
 
 



--
View this message in context: 
http://camel.465427.n5.nabble.com/CBR-Choice-Exceptions-tp5749264p5749279.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to