[ 
https://issues.apache.org/jira/browse/CAMEL-16703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17360629#comment-17360629
 ] 

Ivan Bondar commented on CAMEL-16703:
-------------------------------------

Thanks!

> "CamelExceptionCaught" property is missing in 3.9.0 and 3.10.0
> --------------------------------------------------------------
>
>                 Key: CAMEL-16703
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16703
>             Project: Camel
>          Issue Type: Bug
>          Components: came-core, camel-main
>    Affects Versions: 3.9.0, 3.10.0
>            Reporter: Ivan Bondar
>            Priority: Minor
>
> After upgrade from Camel 3.8.0 to 3.9.0 we noticed that CamelExceptionCaught 
> property is missing even in simple route with following configuration:
>  
>  
> {code:java}
> public void configure() {
>     onException(Exception.class)
>             .process(new Processor() {
>                 public void process(Exchange exchange) throws Exception {
>                     System.out.println( "\n\n\n\n\nPROPERTIES" );
>                     for (String key: exchange.getProperties().keySet()) {
>                         System.out.println(key);
>                     }
>                     System.out.println( "\n\n" );
>                 }
>             });
>     from("file:src/data?noop=true")
>             .throwException(new Exception("Forced"));
> }
> {code}
>  
> Here is simple project 
> [https://github.com/vashu1/camel_test_exception_properties.git] that 
> demonstrates it.
>  
> Run:
> {{git clone https://github.com/vashu1/camel_test_exception_properties.git}}
> {{cd camel_test_exception_properties/camel38/}}
> {{mvn install ; mvn camel:run}}
>  
> {{cd ../camel39/}}
> {{mvn install ; mvn camel:run}}
>  
> {{cd ../camel310/}}
> {{mvn install ; mvn camel:run}}
>  
> And you will see that in {{camel38}} message has:
> PROPERTIES
> CamelBatchSize
> CamelFailureRouteId
> CamelFatalFallbackErrorHandler
> CamelBatchComplete
> CamelBatchIndex
> CamelFileExchangeFile
> CamelExceptionCaught
>  
> And in 3.9 and 3.10 message only has:
>  
> PROPERTIES
> CamelFileExchangeFile



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to