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
A Producer
implementation for File
- Version:
- $Revision: 523016 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileProducer
public FileProducer(FileEndpoint endpoint)
getEndpoint
public FileEndpoint getEndpoint()
- 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
- Parameters:
exchange
-
- Throws:
Exception
- if an internal processing error has occurred.- See Also:
Processor.process(Exchange)
process
public void process(FileExchange exchange)
throws Exception
- Throws:
Exception
createFileName
protected File createFileName(FileExchange exchange)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.