I can do this:

                        <camel:choice>
                                <camel:when>
                                        <camel:method 
bean="accessControlProcessor" method="authorize" />
                                        <camel:log message="access control 
returned true"/>
                                </camel:when>
                                <camel:otherwise>
                                        <camel:log message="access control 
returned false"/>
                                </camel:otherwise>
                        </camel:choice>

Thanks.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-Filter-Bean-when-return-value-is-false-tp5752457p5752458.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to