org.yestech.lib.camel
Class TerracottaProducer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultProducer
          extended by org.yestech.lib.camel.TerracottaProducer
All Implemented Interfaces:
org.apache.camel.IsSingleton, org.apache.camel.Processor, org.apache.camel.Producer, org.apache.camel.Service

public class TerracottaProducer
extends org.apache.camel.impl.DefaultProducer

A Producer which uses a Terracotta Pipe to pass the Exchange.


Constructor Summary
TerracottaProducer(TerracottaEndpoint endpoint, org.terracotta.message.pipe.Pipe<java.lang.Object> queue)
           
 
Method Summary
protected  void doStart()
           
protected  void doStop()
           
 void process(org.apache.camel.Exchange exchange)
           
 
Methods inherited from class org.apache.camel.impl.DefaultProducer
createExchange, createExchange, createExchange, getEndpoint, isSingleton, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

TerracottaProducer

public TerracottaProducer(TerracottaEndpoint endpoint,
                          org.terracotta.message.pipe.Pipe<java.lang.Object> queue)
Method Detail

process

public void process(org.apache.camel.Exchange exchange)
             throws java.lang.Exception
Throws:
java.lang.Exception

doStart

protected void doStart()
                throws java.lang.Exception
Overrides:
doStart in class org.apache.camel.impl.DefaultProducer
Throws:
java.lang.Exception

doStop

protected void doStop()
               throws java.lang.Exception
Overrides:
doStop in class org.apache.camel.impl.DefaultProducer
Throws:
java.lang.Exception


Copyright © 2009 YES Technology Association. All Rights Reserved.