|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A pluggable strategy for turning a file or URL input source into a normalized message.
| Method Summary | |
String |
getOutputName(MessageExchange exchange,
NormalizedMessage message)
Creates a output file name for the given exchange when reading an inbound message. |
void |
readMessage(MessageExchange exchange,
NormalizedMessage message,
InputStream in,
String name)
Converts the file stream to a normalized message. |
void |
writeMessage(MessageExchange exchange,
NormalizedMessage message,
OutputStream out,
String name)
Writes the inbound message to the destination stream of the given name |
| Method Detail |
public void readMessage(MessageExchange exchange,
NormalizedMessage message,
InputStream in,
String name)
throws IOException,
JBIException
exchange - the message exchangemessage - the message to populatein - the input streamname - the name of the file, URI or URL
IOException
JBIException
public String getOutputName(MessageExchange exchange,
NormalizedMessage message)
throws MessagingException
exchange - the inbound message exchangemessage - the inbound message
MessagingException
public void writeMessage(MessageExchange exchange,
NormalizedMessage message,
OutputStream out,
String name)
throws MessagingException,
TransformerException
exchange - the inbound message exchangemessage - the inbound messageout - the output stream to write toname -
MessagingException
TransformerException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||