Package io.toro.martini.util
Class JMSUtils
- java.lang.Object
-
- io.toro.martini.util.JMSUtils
-
public final class JMSUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapMessage
populateMapMessage(MapMessage mm, Map<String,Serializable> m)
static Message
setMessageProperties(Message mm, Map<String,Object> properties)
-
-
-
Method Detail
-
setMessageProperties
public static Message setMessageProperties(Message mm, Map<String,Object> properties) throws JMSException
- Throws:
JMSException
-
populateMapMessage
public static MapMessage populateMapMessage(MapMessage mm, Map<String,Serializable> m) throws JMSException
- Throws:
JMSException
-
-