Grzegorz Grzybek updated CAMEL-14792:
    Labels:   (was: CAMEL-13468)

> ClassNotFoundException for onException(Class) in Java DSL in OSGi
> -----------------------------------------------------------------
>                 Key: CAMEL-14792
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14792
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Grzegorz Grzybek
>            Assignee: Grzegorz Grzybek
>            Priority: Major
> With CAMEL-13468, {{OnExceptionDefinition.java}} lost {{exceptionClasses}} 
> field and actual exception classes where converted in Java DSL into String 
> objects - resolved later when exception processor was created.
> This could (and actually did) cause problems in OSGi, when route was defined 
> from different bundle (which had correct {{Import-Package}} headers generated 
> by maven-bundle-plugin) than the bundle with actual route.
> I have a fix that both keeps class names (for marshalling purpose) and actual 
> classes (for OSGi).

This message was sent by Atlassian Jira

Reply via email to