public class JMSTextMessageTransformer extends Object implements JMSMessageTransformer
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
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
Copyright © 2015 Apache Software Foundation. All Rights Reserved.