org.apache.camel.component.file
Class FileExchange

java.lang.Object
  extended by org.apache.camel.impl.DefaultExchange
      extended by org.apache.camel.component.file.FileExchange
All Implemented Interfaces:
Exchange

public class FileExchange
extends DefaultExchange

A Exchange for File

Version:
$Revision: 63947 $

Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultExchange
context
 
Fields inherited from interface org.apache.camel.Exchange
AGGREGATED_COUNT, CHARSET_NAME, EXCEPTION_HANDLED_PROPERTY
 
Constructor Summary
FileExchange(CamelContext camelContext, ExchangePattern pattern, File file)
           
FileExchange(DefaultExchange parent, File file)
           
 
Method Summary
 File getFile()
           
 Exchange newInstance()
          Creates a new exchange instance with empty messages, headers and properties
 void setFile(File file)
           
 
Methods inherited from class org.apache.camel.impl.DefaultExchange
configureMessage, copy, copyFrom, createFaultMessage, createInMessage, createOutMessage, getContext, getException, getExchangeId, getFault, getFault, getIn, getOut, getOut, getPattern, getProperties, getProperty, getProperty, getUnitOfWork, isFailed, isTransacted, removeProperty, setException, setExchangeId, setFault, setIn, setOut, setPattern, setProperties, setProperty, setUnitOfWork, throwException, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileExchange

public FileExchange(CamelContext camelContext,
                    ExchangePattern pattern,
                    File file)

FileExchange

public FileExchange(DefaultExchange parent,
                    File file)
Method Detail

getFile

public File getFile()

setFile

public void setFile(File file)

newInstance

public Exchange newInstance()
Description copied from interface: Exchange
Creates a new exchange instance with empty messages, headers and properties

Specified by:
newInstance in interface Exchange
Overrides:
newInstance in class DefaultExchange


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