title: Mule ESB Create map payload
body: <p>I need to transform inbound payload into map (java.util.Map). There are any way to create map in mule xml configs?</p>
  
  <p>Regards</p>
  
  <p>EDIT:
  Payload type is com.novell.LDAPAttributeSet which is set of LDAPAttribute objects. LDAPAttribute object contains name and value fields. I need to extract name and value fields and convert them to map. Extracting fields will done with jxpath expressions. But I don't know how to create map from these fields.</p>