[ 
https://issues.apache.org/jira/browse/CAMEL-5804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501680#comment-13501680
 ] 

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: https://issues.apache.org/jira/browse/CAMEL-5804
>             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 below:
> {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: http://www.atlassian.com/software/jira

Reply via email to