org.yestech.lib.camel
Class TerracottaCollectionProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.yestech.lib.camel.TerracottaCollectionProducer
- All Implemented Interfaces:
- org.apache.camel.AsyncProcessor, org.apache.camel.Processor, org.apache.camel.Producer, org.apache.camel.Service
- Direct Known Subclasses:
- TerracottaProducer
public class TerracottaCollectionProducer
- extends org.apache.camel.impl.DefaultProducer
- implements org.apache.camel.AsyncProcessor
A simple Producer which just appends to a Collection the Exchange object.
A component based on camel SEDA component.
|
Constructor Summary |
TerracottaCollectionProducer(org.apache.camel.Endpoint endpoint,
org.terracotta.message.pipe.Pipe<java.lang.Object> pipe)
|
|
Method Summary |
void |
process(org.apache.camel.Exchange exchange)
|
boolean |
process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
|
| Methods inherited from class org.apache.camel.impl.DefaultProducer |
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, 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 |
TerracottaCollectionProducer
public TerracottaCollectionProducer(org.apache.camel.Endpoint endpoint,
org.terracotta.message.pipe.Pipe<java.lang.Object> pipe)
process
public void process(org.apache.camel.Exchange exchange)
throws java.lang.Exception
- Specified by:
process in interface org.apache.camel.Processor
- Throws:
java.lang.Exception
process
public boolean process(org.apache.camel.Exchange exchange,
org.apache.camel.AsyncCallback callback)
- Specified by:
process in interface org.apache.camel.AsyncProcessor
Copyright © 2009 YES Technology Association. All Rights Reserved.