org.apache.servicemix.jbi.transformer
Class PropertyAddTransformer
java.lang.Object
org.apache.servicemix.jbi.transformer.CopyTransformer
org.apache.servicemix.jbi.transformer.PropertyAddTransformer
- All Implemented Interfaces:
- MessageTransformer
public class PropertyAddTransformer
- extends CopyTransformer
Method Summary |
java.lang.String |
getName()
|
java.lang.String |
getValue()
|
void |
setName(java.lang.String name)
|
void |
setValue(java.lang.String value)
|
boolean |
transform(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage in,
javax.jbi.messaging.NormalizedMessage out)
Transfers the state in the input message into the output message |
Methods inherited from class org.apache.servicemix.jbi.transformer.CopyTransformer |
copyAttachments, copyProperties, copySecuritySubject, getInstance, isCopyAttachments, isCopyProperties, isCopySecuritySubject, setCopyAttachments, setCopyProperties, setCopySecuritySubject, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyAddTransformer
public PropertyAddTransformer()
transform
public boolean transform(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage in,
javax.jbi.messaging.NormalizedMessage out)
throws javax.jbi.messaging.MessagingException
- Description copied from interface:
MessageTransformer
- Transfers the state in the input message into the output message
- Specified by:
transform
in interface MessageTransformer
- Overrides:
transform
in class CopyTransformer
- Parameters:
exchange
- the exchange on which the messages are flowingin
- the input messageout
- an empty out message ready to contain the result of the transformation
- Throws:
javax.jbi.messaging.MessagingException
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.