On 8/21/06, Jeppe <[EMAIL PROTECTED]> wrote:
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?
Sounds good to me. You might wanna allow an XSD type to be specified so that the values can be ints / floats / doubles and so forth rather than all strings.
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
We welcome patches, particularly from first timers! So please have a try and we'll take a look http://incubator.apache.org/servicemix/contributing.html -- James ------- http://radio.weblogs.com/0112098/
