I explored the source for the JMS binding component and found that MapMessages are not supported.
I would suggest that MapMessages support are added to the JMS component. A simple way to use this is to create a very simple XML-mapping format for a map message. For example a root element with a subelement named according to the keys in the MapMessage and the content of the element the value of the entry for the simple types and the XML-beans format for Objects, arrays could also be encoded according to the XML-beans standard <mapMessage> <name>John Doe</name> <address>Main Street 1A</address> <anIntArray> <!-- The XML-beans encoding of an array object --> </anIntArray> <theGuiFrameSettings> <!-- the XML-beans encoding of the GUI frames object </theGuiFrameSettings> </mapMessage> What do you think? Is anybody willing to do this? If not I could give it a try, though I expect it would need to be peer-reviewed quite thourougly as I have not done any development in ServiceMix before -- View this message in context: http://www.nabble.com/JMS-enhancements-supporting-MapMessage-tf2139494.html#a5904419 Sent from the ServiceMix - Dev forum at Nabble.com.
