[ https://issues.apache.org/jira/browse/CAMEL-3678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13119969#comment-13119969 ]
Timothy commented on CAMEL-3678: -------------------------------- hi! I am new to Apache Camel. I am trying CBR pattern and using 'choice', 'when', 'to' and 'endChoice()'. I can actually have the code compile, but always got CastException when running it. This really confused me, because I checked every steps and can't find any problems. Is it a bug for now? thank you! > Java DSL - Allow load balancer to be used inside CBR > ---------------------------------------------------- > > Key: CAMEL-3678 > URL: https://issues.apache.org/jira/browse/CAMEL-3678 > Project: Camel > Issue Type: Improvement > Components: camel-core > Affects Versions: 2.6.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > Fix For: 2.7.0 > > > We should allow to use the load balancer inside the CBR, in eg the when > predicate. > See nabble > http://camel.465427.n5.nabble.com/DISCUSS-Java-DSL-caveat-with-the-Content-Based-Router-td3389083.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira