org.apache.servicemix.truezip
Class TrueZipSenderEndpoint
java.lang.Object
org.apache.servicemix.common.Endpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
org.apache.servicemix.common.endpoints.ProviderEndpoint
org.apache.servicemix.truezip.TrueZipSenderEndpoint
- All Implemented Interfaces:
- org.apache.servicemix.common.ExchangeProcessor, TrueZipEndpointType
public class TrueZipSenderEndpoint
- extends org.apache.servicemix.common.endpoints.ProviderEndpoint
- implements TrueZipEndpointType
An endpoint which receives a message and writes the content to a file.
- Version:
- $Revision: 10098 $
| Fields inherited from class org.apache.servicemix.common.Endpoint |
definition, description, endpoint, interfaceName, logger, service, serviceUnit |
| Methods inherited from class org.apache.servicemix.common.endpoints.ProviderEndpoint |
getRole, process, start, stop |
| Methods inherited from class org.apache.servicemix.common.endpoints.SimpleEndpoint |
activate, deactivate, done, fail, getChannel, getContext, getExchangeFactory, getProcessor, send, sendSync |
| Methods inherited from class org.apache.servicemix.common.Endpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, 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
- Overrides:
validate in class org.apache.servicemix.common.Endpoint
- 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 org.apache.servicemix.common.endpoints.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 org.apache.servicemix.common.endpoints.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-2007. All Rights Reserved.