org.apache.servicemix.truezip
Class TrueZipSenderEndpoint
java.lang.Object
org.apache.servicemix.common.endpoints.AbstractEndpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ProviderEndpoint
org.apache.servicemix.truezip.TrueZipSenderEndpoint
- All Implemented Interfaces:
- Endpoint, TrueZipEndpointType
public class TrueZipSenderEndpoint
- extends ProviderEndpoint
- implements TrueZipEndpointType
An endpoint which receives a message and writes the content to a file.
- Version:
- $Revision: 43330 $
| Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString |
TrueZipSenderEndpoint
public TrueZipSenderEndpoint()
TrueZipSenderEndpoint
public TrueZipSenderEndpoint(TrueZipComponent component,
javax.jbi.servicedesc.ServiceEndpoint endpoint)
validate
public void validate()
throws javax.jbi.management.DeploymentException
- Specified by:
validate in interface Endpoint- Overrides:
validate in class AbstractEndpoint
- Throws:
javax.jbi.management.DeploymentException
processInOnly
protected void processInOnly(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage in)
throws Exception
- Overrides:
processInOnly in class ProviderEndpoint
- Throws:
Exception
getNewTempName
protected String getNewTempName()
processInOut
protected void processInOut(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage in,
javax.jbi.messaging.NormalizedMessage out)
throws Exception
- Overrides:
processInOut in class ProviderEndpoint
- Throws:
Exception
getDirectory
public File getDirectory()
setDirectory
public void setDirectory(File directory)
getMarshaler
public org.apache.servicemix.components.util.FileMarshaler getMarshaler()
setMarshaler
public void setMarshaler(org.apache.servicemix.components.util.FileMarshaler marshaler)
getTempFilePrefix
public String getTempFilePrefix()
setTempFilePrefix
public void setTempFilePrefix(String tempFilePrefix)
getTempFileSuffix
public String getTempFileSuffix()
setTempFileSuffix
public void setTempFileSuffix(String tempFileSuffix)
isAutoCreateDirectory
public boolean isAutoCreateDirectory()
setAutoCreateDirectory
public void setAutoCreateDirectory(boolean autoCreateDirectory)
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.