public class JMSTextMessageTransformer extends Object implements JMSMessageTransformer
Constructor and Description |
---|
JMSTextMessageTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
parseArgs(String s)
Parse any transformer-specific args to initialize the transformer.
|
byte[] |
transform(javax.jms.Message message)
Transform a Message to an array of bytes.
|
public String parseArgs(String s)
JMSMessageTransformer
parseArgs
in interface JMSMessageTransformer
s
- Arguments needed to configur the transformer.public byte[] transform(javax.jms.Message message) throws javax.jms.JMSException
JMSMessageTransformer
transform
in interface JMSMessageTransformer
message
- JMS message received by a JMS Adaptor.javax.jms.JMSException
- if there is problem process messageCopyright © 2016 Apache Software Foundation. All Rights Reserved.