|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageTransformer
Represents a transformer of an input message into an output message
Method Summary | |
---|---|
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 |
Method Detail |
---|
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 transformation
javax.jbi.messaging.MessagingException
javax.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 message
null
if the output message co
javax.jbi.messaging.MessagingException
- when an error occurs while transforming the message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |