camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Chaffee (JIRA)" <>
Subject [jira] [Commented] (CAMEL-5804) Scala DSL does not support data formats same as Java DSL
Date Wed, 21 Nov 2012 03:16:58 GMT


Jason Chaffee commented on CAMEL-5804:

Part of the problem is that only the Java DSL and XML DSL are ever documented for these EIPs.
 It took me a little bit of digging before I figured out how to get unmarshal/marshal to work
properly in the Scala DSL.

I admit that I am a Scala newbie so I might not not what is the best practice for doing this
in Scala, but it seems to be me there is no reason the Scala DSL cannot be fluent like the
Java DSL, but maybe that is frowned upon in the Scala world.
> Scala DSL does not support data formats same as Java DSL
> --------------------------------------------------------
>                 Key: CAMEL-5804
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-scala
>    Affects Versions: 2.10.2
>            Reporter: Jason Chaffee
>            Priority: Minor
>             Fix For: 2.11.0
> It would be nice if the Scala DSL could support marshal() and unmarshal() as in the examples
> {code}
> from("direct:a").unmarshal().jaxb().to("direct:test")
> {code}
> {code}
> from("direct:a").marshal().json().to("direct:test")
> {code}

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message