public class JMSContextMapper extends BaseRegexContextMapper<JMSBindingData>
Modifier and Type | Field and Description |
---|---|
static String |
HEADER_JMS_CORRELATION_ID
JMSCorrelationID header.
|
static String |
HEADER_JMS_DELIVERY_MODE
JMSDeliveryMode header.
|
static String |
HEADER_JMS_DESTINATION
JMSDestination header.
|
static String |
HEADER_JMS_EXPIRATION
JMSExpiration header.
|
static String |
HEADER_JMS_MESSAGE_ID
JMSMessageID header.
|
static String |
HEADER_JMS_PRIORITY
JMSPriority header.
|
static String |
HEADER_JMS_REDELIVERED
JMSRedelivered header.
|
static String |
HEADER_JMS_REPLY_TO
JMSReplyTo header.
|
static String |
HEADER_JMS_TIMESTAMP
JMSTimestamp header.
|
static String |
HEADER_JMS_TYPE
JMSType header.
|
Constructor and Description |
---|
JMSContextMapper() |
Modifier and Type | Method and Description |
---|---|
void |
mapFrom(JMSBindingData source,
Context context)
Maps a source object's properties to the context.
|
void |
mapTo(Context context,
JMSBindingData target)
Maps a context's properties into a target object.
|
getIncludeRegexes, matches, matches, matches, setExcludeNamespaces, setExcludes, setIncludeNamespaces, setIncludes, setRegexPropagationList
getModel, setModel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModel, setModel
public static final String HEADER_JMS_DESTINATION
public static final String HEADER_JMS_DELIVERY_MODE
public static final String HEADER_JMS_MESSAGE_ID
public static final String HEADER_JMS_TIMESTAMP
public static final String HEADER_JMS_CORRELATION_ID
public static final String HEADER_JMS_REPLY_TO
public static final String HEADER_JMS_REDELIVERED
public static final String HEADER_JMS_TYPE
public static final String HEADER_JMS_EXPIRATION
public static final String HEADER_JMS_PRIORITY
public void mapFrom(JMSBindingData source, Context context) throws Exception
mapFrom
in interface ContextMapper<JMSBindingData>
mapFrom
in class BaseRegexContextMapper<JMSBindingData>
source
- the object to map fromcontext
- the context to map toException
- if there was a problempublic void mapTo(Context context, JMSBindingData target) throws Exception
mapTo
in interface ContextMapper<JMSBindingData>
mapTo
in class BaseRegexContextMapper<JMSBindingData>
context
- the context to map fromtarget
- the target to map toException
- if there was a problemCopyright © 2013–2018 JBoss by Red Hat. All rights reserved.