On 18/01/2008, Christian Schneider <[EMAIL PROTECTED]> wrote: > > 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?
Good point! In the end to make it even more obvious, I went with unmarshal() and marshal() to be even more descriptive. http://activemq.apache.org/camel/data-format.html e.g. from(...). unmarshal().serialization(). marshal().jaxb(). to(...) -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
