org.apache.camel.component.stream
Class StreamProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.stream.StreamProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService
public class StreamProducer
- extends DefaultProducer
Producer that can write to streams
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
StreamProducer
public StreamProducer(StreamEndpoint endpoint,
String uri)
throws Exception
- Throws:
Exception
doStop
public void doStop()
throws Exception
- Overrides:
doStop in class DefaultProducer
- Throws:
Exception
process
public void process(Exchange exchange)
throws Exception
- Description copied from interface:
Processor
- Processes the message exchange
- Parameters:
exchange - the message exchange
- Throws:
Exception - if an internal processing error has occurred.
Apache CAMEL