org.apache.camel.component.file
Class FileProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.file.FileProducer
- All Implemented Interfaces:
- Processor, Producer, Service
public class FileProducer
- extends DefaultProducer
For producing files.
- Version:
- $Revision: 47012 $
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
FileProducer
public FileProducer(FileEndpoint endpoint)
getEndpoint
public FileEndpoint getEndpoint()
- Deprecated. will be removed in Camel 2.0.
- Specified by:
getEndpoint
in interface Producer
- Overrides:
getEndpoint
in class DefaultProducer
process
public void process(Exchange exchange)
throws Exception
- Description copied from interface:
Processor
- Processes the message exchange
- Throws:
Exception
- if an internal processing error has occurred.
process
public void process(FileExchange exchange)
throws Exception
- Throws:
Exception
createFileName
protected File createFileName(Message message)
Copyright © 2009 IONA Open Source Community. All Rights Reserved.