org.yestech.publish.service
Class CamelPublishProducer
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CamelPublishProducer
public CamelPublishProducer()
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.