org.apache.camel.converter.stream
Class StreamCacheConverter

java.lang.Object
  extended by org.apache.camel.converter.stream.StreamCacheConverter

public class StreamCacheConverter
extends Object

A set of Converter methods for wrapping stream-based messages in a StreamCache implementation to ensure message re-readability (eg multicasting, retrying)


Constructor Summary
StreamCacheConverter()
           
 
Method Summary
 StreamCache convertToStreamCache(InputStream stream)
           
 StreamCache convertToStreamCache(Reader reader)
           
 StreamCache convertToStreamCache(Source source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamCacheConverter

public StreamCacheConverter()
Method Detail

convertToStreamCache

public StreamCache convertToStreamCache(Source source)
                                 throws TransformerException
Throws:
TransformerException

convertToStreamCache

public StreamCache convertToStreamCache(InputStream stream)
                                 throws IOException
Throws:
IOException

convertToStreamCache

public StreamCache convertToStreamCache(Reader reader)
                                 throws IOException
Throws:
IOException


Copyright © 2008 IONA Open Source Community. All Rights Reserved.