org.yestech.publish.service
Class CamelPublishConsumer
java.lang.Object
org.yestech.publish.service.CamelPublishConsumer
- All Implemented Interfaces:
- IPublishConsumer
public class CamelPublishConsumer
- extends Object
- implements IPublishConsumer
A camel based consumer that assumes the body of a Message is of type
IArtifact. It assumes the message body is already of type IArtifact.
This is used for example after the CamelXmlToArtifactFilter has been applied.
- Version:
- $Revision: $
- Author:
- Artie Copeland
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelPublishConsumer
public CamelPublishConsumer()
getProcessor
public IPublishProcessor getProcessor()
getTempDirectory
public File getTempDirectory()
setTempDirectory
public void setTempDirectory(File tempDirectory)
setProcessor
public void setProcessor(IPublishProcessor processor)
getHeaderParameters
public Map<String,Object> getHeaderParameters()
setHeaderParameters
public void setHeaderParameters(Map<String,Object> headerParameters)
process
public void process(org.apache.camel.Exchange exchange)
recieve
public void recieve(IArtifact artifact)
- Specified by:
recieve in interface IPublishConsumer
Copyright © 2010 YES Technology Association. All Rights Reserved.