Re: Camel 3.0.0 marshal component doesn't allow ref attribute

2020-01-06 Thread Claus Ibsen
On Mon, Jan 6, 2020 at 10:25 AM Gerald Kallas wrote: > > Thanks, Claus. > > Further, how can I define the data format in Blueprint XML. This .. > > > > > > Put them inside https://camel.apache.org/schema/blueprint/camel-blueprint-3.0.0.xsd > doesn't

Re: Camel 3.0.0 marshal component doesn't allow ref attribute

2020-01-06 Thread Gerald Kallas
Thanks, Claus. Further, how can I define the data format in Blueprint XML. This .. doesn't work as "dataFormats" isn't allowed. This .. requires (osgi.wiring.package=org.apache.camel.spi.DataFormat). Best

Re: Camel 3.0.0 marshal component doesn't allow ref attribute

2020-01-06 Thread Claus Ibsen
Hi Btw you can do this in 2.x also, and the ref attribute was also deprecated on 2.x https://github.com/apache/camel/blob/camel-2.x/camel-core/src/main/java/org/apache/camel/model/MarshalDefinition.java#L135 On Mon, Jan 6, 2020 at 10:04 AM Claus Ibsen wrote: > > Hi > > Use to refer to a custom

Re: Camel 3.0.0 marshal component doesn't allow ref attribute

2020-01-06 Thread Claus Ibsen
Hi Use to refer to a custom data format (eg its custom when its a ) On Mon, Jan 6, 2020 at 9:57 AM Gerald Kallas wrote: > > Dear community, > > I've following snippet > > http://www.osgi.org/xmlns/blueprint/v1.0.0";> > ... > class="org.apache.camel.model.dataformat.JsonDataFormat"> > .

Camel 3.0.0 marshal component doesn't allow ref attribute

2020-01-06 Thread Gerald Kallas
Dear community, I've following snippet http://www.osgi.org/xmlns/blueprint/v1.0.0";> ... ... While deploying I'm getting Caused by: org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'ref' is not allowed to appear in element 'marshal'. In Spring XML of older Camel installation