org.apache.camel.component.hazelcast.seda
Class HazelcastSedaProducer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultProducer
          extended by org.apache.camel.component.hazelcast.seda.HazelcastSedaProducer
All Implemented Interfaces:
org.apache.camel.AsyncProcessor, org.apache.camel.IsSingleton, org.apache.camel.Processor, org.apache.camel.Producer, org.apache.camel.Service, org.apache.camel.ShutdownableService

public class HazelcastSedaProducer
extends org.apache.camel.impl.DefaultProducer
implements org.apache.camel.AsyncProcessor

Implementation of Hazelcast SEDA Producer component. Just appends exchange body into a Hazelcast BlockingQueue.


Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultProducer
log
 
Constructor Summary
HazelcastSedaProducer(HazelcastSedaEndpoint endpoint, BlockingQueue hzlq)
           
 
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, isSingleton, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend
 
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

HazelcastSedaProducer

public HazelcastSedaProducer(HazelcastSedaEndpoint endpoint,
                             BlockingQueue hzlq)
Method Detail

process

public void process(org.apache.camel.Exchange exchange)
             throws Exception
Specified by:
process in interface org.apache.camel.Processor
Throws:
Exception

process

public boolean process(org.apache.camel.Exchange exchange,
                       org.apache.camel.AsyncCallback callback)
Specified by:
process in interface org.apache.camel.AsyncProcessor


Apache CAMEL