public interface MessageTransformer
| Modifier and Type | Method and Description |
|---|---|
javax.jbi.messaging.NormalizedMessage |
transform(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage in)
Transforms an input message into the returned output message
|
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
|
boolean transform(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage in,
javax.jbi.messaging.NormalizedMessage out)
throws javax.jbi.messaging.MessagingException
exchange - the exchange on which the messages are flowingin - the input messageout - an empty out message ready to contain the result of the transformationjavax.jbi.messaging.MessagingExceptionjavax.jbi.messaging.NormalizedMessage transform(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage in)
throws javax.jbi.messaging.MessagingException
exchange - the exchange fon which the messages are flowingin - the input messagenull if the output message cojavax.jbi.messaging.MessagingException - when an error occurs while transforming the messageCopyright © 2005-2014 FuseSource. All Rights Reserved.