org.apache.servicemix.jbi.transformer
Class PropertyAddTransformer

java.lang.Object
  extended by org.apache.servicemix.jbi.transformer.CopyTransformer
      extended by org.apache.servicemix.jbi.transformer.PropertyAddTransformer
All Implemented Interfaces:
MessageTransformer

public class PropertyAddTransformer
extends CopyTransformer


Constructor Summary
PropertyAddTransformer()
           
 
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
 

Constructor Detail

PropertyAddTransformer

public PropertyAddTransformer()
Method Detail

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 flowing
in - the input message
out - 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.