Can any one help me out how to create message in JMS

Can any one help me out how to create an object,map message in JMS
[73 byte] By [mandavasrinivas] at [2007-11-26 11:59:36]
# 1
you Have a Map object and need to create a JMS Message with that, right? http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Message.htmlwhat if you create a iterator with the map and start creating properties...message.setStringProperty(name, value)bye
BuZMan at 2007-7-7 12:21:41 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...
# 2
Thanks to your reply
mandavasrinivas at 2007-7-7 12:21:41 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...