When you decide for using the DSL I would recommend to name the methods
sourceFormat and sinkFormat so it is clearer what they do. Source could
easily be understood to have the same meaning as from.
What do you think?
Best regards
Chris
James.Strachan wrote:
>
> I was wondering if we should make them explicit in the DSL or XML such as
>
> // parse as JAXB2 via XML and call a bean
> from("file://foo/bar").
> source("jaxb").
> to("ref:someBean");
>
> or
>
> // parse Java serialization and write out as XML
> from("file://foo/bar").
> source("serialization").
> sink("jaxb").
> to("file://xyz");
>
--
View this message in context:
http://www.nabble.com/musings-on-Source-Sink-integration-%28e.g.-serialization-v-JAXB2-v-SOAP-encoding-etc%29-tp12980367s22882p14957764.html
Sent from the Camel - Development mailing list archive at Nabble.com.