|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.codestreet.messageforge.Converter com.codestreet.messageforge.ConverterJMS
Field Summary | |
static java.lang.String |
MSG_NAME
Name of String property with the message name. |
static java.lang.String |
XML_FIELD_NAME
Name of String field with the XML representation of non-JMS supported field types. |
Constructor Summary | |
ConverterJMS()
|
Method Summary | |
static void |
addProperties(javax.jms.Message outMsg,
java.util.Map props)
|
static boolean |
getTibcoJmsMsgExt()
Get TIBCO message extension flag. |
static javax.jms.MapMessage |
marshal(RMapMessage source,
javax.jms.MapMessage target,
javax.jms.Session session)
Create a javax.jms.MapMessage from a RMapMessage. |
static javax.jms.MapMessage |
marshal(RMapMessage source,
javax.jms.Session session)
Create a javax.jms.MapMessage from a RMapMessage. |
static void |
setTibcoJmsMsgExt(boolean ext)
Set TIBCO message extension flag. |
static RMapMessage |
unmarshal(javax.jms.MapMessage source)
Create and set a RMsg from a javax.jms.MapMessage. |
static void |
unmarshal(javax.jms.MapMessage source,
RMapMessage target)
Create and set a RMsg from a javax.jms.MapMessage. |
Methods inherited from class com.codestreet.messageforge.Converter |
createMsgObject, createMsgObject, dateToDouble, dateToLong, dateToStr, getBeanValidator, getLenient, getVersion, setBeanValidator, setDateFromDouble, setDateFromLong, setDateFromStr, setDefaultFactory, setMaximumFractionDigits |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String MSG_NAME
public static final java.lang.String XML_FIELD_NAME
Constructor Detail |
public ConverterJMS()
Method Detail |
public static void setTibcoJmsMsgExt(boolean ext)
ext
- TIBCO message extension flag.public static boolean getTibcoJmsMsgExt()
public static javax.jms.MapMessage marshal(RMapMessage source, javax.jms.Session session) throws ConverterException
source
- Source message.session
- JMS session. This is used to created nested map messages if
necessary.
ConverterException
RMapMessage
,
RMsg
,
Session
,
MapMessage
public static javax.jms.MapMessage marshal(RMapMessage source, javax.jms.MapMessage target, javax.jms.Session session) throws ConverterException
source
- Source message.target
- Target map message.session
- JMS session. This is used to created nested map messages if
necessary.
ConverterException
RMapMessage
,
RMsg
,
Session
,
MapMessage
public static RMapMessage unmarshal(javax.jms.MapMessage source) throws ConverterException
source
- Source message.
ConverterException
unmarshal(javax.jms.MapMessage, RMapMessage)
public static void unmarshal(javax.jms.MapMessage source, RMapMessage target) throws ConverterException
source
- Source message.target
- Target message object.
ConverterException
public static void addProperties(javax.jms.Message outMsg, java.util.Map props) throws javax.jms.JMSException
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |