Hi Roman, > but the main thing I have to do is to set vaiable *enabled* as > an attribute of *username* and I have no idea how.
LibJson [1] (which is used by camel-xmljson [2] under the hood) will convert JSON pair into XML attribute if the name of the attribute starts with @. Your JSON serializer needs to generate prefixed '@enabled' pair name. Cheers. [1] http://json-lib.sourceforge.net/usage.html#xml [2] http://camel.apache.org/xmljson.html -- Henryk Konsek http://henryk-konsek.blogspot.com