[
https://issues.apache.org/jira/browse/CAMEL-8488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-8488.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.15.1
> Java DSL - Improved CBR to detect if endChoice vs end was invalid used
> ----------------------------------------------------------------------
>
> Key: CAMEL-8488
> URL: https://issues.apache.org/jira/browse/CAMEL-8488
> Project: Camel
> Issue Type: Improvement
> Components: camel-core, eip
> Affects Versions: 2.15.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.15.1, 2.16.0
>
>
> See SO
> http://stackoverflow.com/questions/29044571/camel-java-dsl-route-with-choice-proceeds-only-for-last-condition
> Users of Java DSL may improperly use the wrong end when ending the entire
> choice by using endChoice which then would by default add further outputs to
> the last clause, eg last when/otherwise.
> We should detect this so when using endChoice the next output must be
> when/otherwise (or another end)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)