org.yestech.publish.service
Class CamelPublishProducer

java.lang.Object
  extended by org.yestech.publish.service.CamelPublishProducer
All Implemented Interfaces:
IPublishProducer

public class CamelPublishProducer
extends Object
implements IPublishProducer

A camel based producer that assumes the body of a Message is of type IArtifact. It sends all message asynchronously to the startEndPoint Supplied

Version:
$Revision: $
Author:
Artie Copeland

Constructor Summary
CamelPublishProducer()
           
 
Method Summary
 org.apache.camel.CamelContext getContext()
           
 String getStartEndPoint()
           
 String getUrl()
           
 void send(IArtifact artifact)
           
 void send(IFileArtifact artifact)
           
 void setContext(org.apache.camel.CamelContext context)
           
 void setStartEndPoint(String startEndPoint)
           
 void setUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelPublishProducer

public CamelPublishProducer()
Method Detail

getUrl

public String getUrl()
Specified by:
getUrl in interface IPublishProducer

setUrl

public void setUrl(String url)
Specified by:
setUrl in interface IPublishProducer

getContext

public org.apache.camel.CamelContext getContext()

setContext

public void setContext(org.apache.camel.CamelContext context)

getStartEndPoint

public String getStartEndPoint()

setStartEndPoint

public void setStartEndPoint(String startEndPoint)

send

public void send(IArtifact artifact)
Specified by:
send in interface IPublishProducer

send

public void send(IFileArtifact artifact)
Specified by:
send in interface IPublishProducer


Copyright © 2010 YES Technology Association. All Rights Reserved.