camel version 2.15.1 java version "1.8.0_45"
Exception : java.lang.UnsupportedOperationException: null at java.util.AbstractList.add(AbstractList.java:148) at org.apache.camel.builder.AdviceWithTasks$1.task(AdviceWithTasks.java: 151) at org.apache.camel.model.RouteDefinition.adviceWith(RouteDefinition.jav a:270) The same error which logged in for weaveAddLast camel version : 2.15.2 https://issues.apache.org/jira/browse/CAMEL-8798 -- View this message in context: http://camel.465427.n5.nabble.com/adviceWith-is-throwing-UnsupportedOperationException-when-route-have-choice-definition-tp5768891.html Sent from the Camel - Users mailing list archive at Nabble.com.