@Deprecated
@ConfigDeprecated(removalVersion="4.0.0",
message="IBM recommends using JMS instead",
groups=java.lang.Deprecated.class)
@Removal(version="4.0.0")
public abstract class FieldMapper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FieldMapper.Field
Deprecated.
Fields within a MQMessage.
|
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logR
Deprecated.
|
Constructor and Description |
---|
FieldMapper()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
copy(AdaptrisMessage msg,
com.ibm.mq.MQMessage mqMsg)
Deprecated.
Copy information from the AdaptrisMessage object into the MQMessage object.
|
abstract void |
copy(com.ibm.mq.MQMessage mqMsg,
AdaptrisMessage msg)
Deprecated.
Copy information from the MQMessage object into the AdaptrisMessage object.
|
protected static FieldMapper.Field |
createField(java.lang.String fieldName)
Deprecated.
|
ByteTranslator |
getByteTranslator()
Deprecated.
|
boolean |
getConvertNull()
Deprecated.
|
java.lang.String |
getMqFieldName()
Deprecated.
|
void |
setByteTranslator(ByteTranslator vt)
Deprecated.
Set the ByteTranslator implementation to use when attempting to convert to
and from MQMessage fields that are byte[].
|
void |
setConvertNull(boolean b)
Deprecated.
Whether or not to convert nulls into an empty string.
|
void |
setMqFieldName(java.lang.String s)
Deprecated.
The field name that will be mapped.
|
public java.lang.String getMqFieldName()
public void setMqFieldName(java.lang.String s)
s
- the mqFieldName to setMQMD
,
FieldMapper.Field
public abstract void copy(AdaptrisMessage msg, com.ibm.mq.MQMessage mqMsg) throws java.io.IOException, com.ibm.mq.MQException, CoreException
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 abstract void copy(com.ibm.mq.MQMessage mqMsg, AdaptrisMessage msg) throws java.io.IOException, com.ibm.mq.MQException, CoreException
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 exceptionsprotected static FieldMapper.Field createField(java.lang.String fieldName) throws CoreException
CoreException
public ByteTranslator getByteTranslator()
public void setByteTranslator(ByteTranslator vt)
vt
- the ByteTranslator to setByteTranslator
public boolean getConvertNull()
public void setConvertNull(boolean b)
b
- the convertNull to set