> > Why not have standard behavior across camel components? > > Each component provides messages in the most > efficient/generic/convenient way it is possible in given context. > > What kind of standard message format are you thinking of? JSON for > example?
A "common" format could only be some such generic as typeless XML or JSON. Otherwise you would find use cases where some flag, some information, some format is missed. The "common format" Camel uses for routing is "exchange" with its properties and in and out messages with headers. A Camel component has to deal with exactly one external system. So the format used there could be focused to that external system (http header, ssl credentials, ftp password, pgp encryption, jdbc datasource name...). The components job is to transform that data to "exchange". For further conversion you could use the typeconverters. (I hope to be right ;) Jan
