JAXB: Marshal class containing String containing XML

2016-08-18 Thread David Sharpe
Hello fellow Camel users, (Using Camel 2.15.3) The legacy system and XML schema I'm working with has a frustrating use case where the (@XmlValue) String property of a JAXB annotated class contains XML that should be marshalled as-is without escaping, but what I'm getting is this:

Referring to non-existent enum in simple expression results in null instead of error

2016-07-27 Thread David Sharpe
Hi everyone, In the Camel documentation for the simple expression language I learned that I can refer to enums. I used this to pass an enum to some bean in my route. Here is a snippet of Java DSL: .bean(SomeBean.class, "process(*, ${type:package.SomeEnumT