Hi, try <setHeader headerName="cool"> <simple>ref:myBeanId</simple> </setHeader>
were myBeanId is the beran Id of a bean representing the map, for example instance of a hash map. Best Regards Franz On Fri, Aug 21, 2015 at 3:14 PM, gustavo.maurizio <gmauri...@me.com> wrote: > Hi all. > We are using camel with spring XML, not Java DSL. > We need to set a header, which in turn is a list of map values. > Example, > set header as > OurAppheader = { AppVarA = "monkey", AppVarB = "goat } > we tried many things to no avail. > Any help? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/setting-camel-header-as-a-map-tp5770898.html > Sent from the Camel Development mailing list archive at Nabble.com.