org.yestech.publish.service
Class CamelPublishConsumer

java.lang.Object
  extended by 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

Constructor Summary
CamelPublishConsumer()
           
 
Method Summary
 Map<String,Object> getHeaderParameters()
           
 IPublishProcessor getProcessor()
           
 File getTempDirectory()
           
 void process(org.apache.camel.Exchange exchange)
           
 void recieve(IArtifact artifact)
           
 void setHeaderParameters(Map<String,Object> headerParameters)
           
 void setProcessor(IPublishProcessor processor)
           
 void setTempDirectory(File tempDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelPublishConsumer

public CamelPublishConsumer()
Method Detail

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.