[
https://issues.apache.org/jira/browse/CAMEL-8515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-8515.
--------------------------------
Resolution: Fixed
> Camel marshal/unmarshal - Should catch throwable in case dataformat causes an
> java.lang.Error
> ---------------------------------------------------------------------------------------------
>
> Key: CAMEL-8515
> URL: https://issues.apache.org/jira/browse/CAMEL-8515
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.14.2, 2.15.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.14.3, 2.15.1, 2.16.0
>
>
> For example if crypto dataformat cannot load some class and throw
> {code}
> Caused by: java.lang.NoClassDefFoundError: javax/crypto/CipherOutputStream
> at
> org.apache.camel.converter.crypto.CryptoDataFormat.marshal(CryptoDataFormat.java:131)
> at
> org.apache.camel.processor.MarshalProcessor.process(MarshalProcessor.java:81)
> at
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77)
> {code}
> We should detect and handle that in marshaller / unmarshaller like the rest
> of the routing engine does.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)