public abstract class AbstractJmsMarshaler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT_TYPE_PROPERTY |
static java.lang.String |
DONE_JMS_PROPERTY |
static java.lang.String |
ERROR_JMS_PROPERTY |
static java.lang.String |
FAULT_JMS_PROPERTY |
| Constructor and Description |
|---|
AbstractJmsMarshaler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyPropertiesFromJMS(javax.jms.Message message,
javax.jbi.messaging.NormalizedMessage inMessage)
Copy properties from JMS message to JBI message.
|
protected void |
copyPropertiesFromNM(javax.jbi.messaging.NormalizedMessage outMessage,
javax.jms.Message message)
Copy properties from JBI message to JMS message.
|
java.util.List<java.lang.String> |
getPropertyBlackList() |
boolean |
isBlackListed(java.lang.String name)
checks if a property is on black list
|
boolean |
isCopyProperties()
Get value from field copyProperties.
|
boolean |
isNeedJavaIdentifiers() |
void |
setCopyProperties(boolean copyProperties)
Set value from copyProperties field.
|
void |
setNeedJavaIdentifiers(boolean needJavaIdentifiers) |
void |
setPropertyBlackList(java.util.List<java.lang.String> propertyBlackList) |
protected boolean |
shouldIncludeHeader(java.lang.String name,
java.lang.Object value)
checks whether the header property should be included or not
|
public static final java.lang.String DONE_JMS_PROPERTY
public static final java.lang.String FAULT_JMS_PROPERTY
public static final java.lang.String ERROR_JMS_PROPERTY
public static final java.lang.String CONTENT_TYPE_PROPERTY
public boolean isCopyProperties()
public void setCopyProperties(boolean copyProperties)
copyProperties - New value for copyProperties field.protected void copyPropertiesFromJMS(javax.jms.Message message,
javax.jbi.messaging.NormalizedMessage inMessage)
throws javax.jms.JMSException
message - Received JMS message.inMessage - Created JBI message.javax.jms.JMSException - If there is any problems with accessing to message
properties.protected void copyPropertiesFromNM(javax.jbi.messaging.NormalizedMessage outMessage,
javax.jms.Message message)
throws javax.jms.JMSException
outMessage - Received JBI message.message - Created JMS message.javax.jms.JMSException - If there is any problems with saving JMS message
properties.protected boolean shouldIncludeHeader(java.lang.String name,
java.lang.Object value)
name - the property namevalue - the property valuepublic boolean isBlackListed(java.lang.String name)
name - the propertypublic java.util.List<java.lang.String> getPropertyBlackList()
public void setPropertyBlackList(java.util.List<java.lang.String> propertyBlackList)
propertyBlackList - The propertyBlackList to set.public boolean isNeedJavaIdentifiers()
public void setNeedJavaIdentifiers(boolean needJavaIdentifiers)
needJavaIdentifiers - The needJavaIdentifiers to set.Copyright © 2005-2014 FuseSource. All Rights Reserved.