public class UuidFieldMapper extends FieldMapper
Handy for when consuming request messages in which the recipient has to specify the correlation id to be used.
In the adapter configuration file this class is aliased as wmq-uuid-field-mapper which is the preferred alternative to the fully qualified classname when building your configuration.
FieldMapper.Field
logR
Constructor and Description |
---|
UuidFieldMapper() |
Modifier and Type | Method and Description |
---|---|
void |
copy(AdaptrisMessage msg,
com.ibm.mq.MQMessage mqMsg)
Copy information from the AdaptrisMessage object into the MQMessage object.
|
void |
copy(com.ibm.mq.MQMessage mqMsg,
AdaptrisMessage msg)
Copy information from the MQMessage object into the AdaptrisMessage object.
|
createField, getByteTranslator, getConvertNull, getMqFieldName, setByteTranslator, setConvertNull, setMqFieldName
public void copy(AdaptrisMessage msg, com.ibm.mq.MQMessage mqMsg) throws java.io.IOException, com.ibm.mq.MQException, CoreException
FieldMapper
copy
in class FieldMapper
msg
- the AdaptrisMessage Object.mqMsg
- the MQMessage object.java.io.IOException
- wrapping any IOExceptioncom.ibm.mq.MQException
- for any MQ related ExceptionsCoreException
- for any framework related exceptionspublic void copy(com.ibm.mq.MQMessage mqMsg, AdaptrisMessage msg) throws java.io.IOException, com.ibm.mq.MQException, CoreException
FieldMapper
copy
in class FieldMapper
mqMsg
- the MQMessage object.msg
- the AdaptrisMessage Object.java.io.IOException
- wrapping any IOExceptioncom.ibm.mq.MQException
- for any MQ related ExceptionsCoreException
- for any framework related exceptions