org.yestech.publish.service
Class CamelXmlPublishConsumer
java.lang.Object
org.yestech.publish.service.CamelXmlPublishConsumer
- All Implemented Interfaces:
- IPublishConsumer
public class CamelXmlPublishConsumer
- extends Object
- implements IPublishConsumer
A camel based consumer that assumes the body of a Message is of type
IArtifact. The consumer converts the raw message to an IArtifact
then puts it back into the exchange, after doing that it publishes the IArtifact.
- Version:
- $Revision: $
- Author:
- Artie Copeland
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelXmlPublishConsumer
public CamelXmlPublishConsumer()
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.