|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jms.endpoints.AbstractJmsMarshaler
public abstract class AbstractJmsMarshaler
A usefull base class for marshalers.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
AbstractJmsMarshaler()
|
|
| Method Summary | |
|---|---|
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 |
| 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 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
| Constructor Detail |
|---|
public AbstractJmsMarshaler()
| Method Detail |
|---|
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 value
public boolean isBlackListed(java.lang.String name)
name - the property
public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||