org.apache.servicemix.camel
Class JbiEndpoint.JbiProducer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultProducer<org.apache.camel.Exchange>
          extended by org.apache.servicemix.camel.JbiEndpoint.JbiProducer
All Implemented Interfaces:
org.apache.camel.AsyncProcessor, org.apache.camel.Processor, org.apache.camel.Producer<org.apache.camel.Exchange>, org.apache.camel.Service
Enclosing class:
JbiEndpoint

protected class JbiEndpoint.JbiProducer
extends org.apache.camel.impl.DefaultProducer<org.apache.camel.Exchange>
implements org.apache.camel.AsyncProcessor


Constructor Summary
JbiEndpoint.JbiProducer(org.apache.camel.Endpoint<org.apache.camel.Exchange> exchangeEndpoint)
           
 
Method Summary
protected  CamelConsumerEndpoint getCamelConsumerEndpoint()
           
 void process(org.apache.camel.Exchange exchange)
           
 boolean process(org.apache.camel.Exchange exchange, org.apache.camel.AsyncCallback asyncCallback)
           
 void start()
           
 void stop()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JbiEndpoint.JbiProducer

public JbiEndpoint.JbiProducer(org.apache.camel.Endpoint<org.apache.camel.Exchange> exchangeEndpoint)
Method Detail

start

public void start()
           throws Exception
Specified by:
start in interface org.apache.camel.Service
Overrides:
start in class org.apache.camel.impl.ServiceSupport
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface org.apache.camel.Service
Overrides:
stop in class org.apache.camel.impl.ServiceSupport
Throws:
Exception

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 asyncCallback)
Specified by:
process in interface org.apache.camel.AsyncProcessor

getCamelConsumerEndpoint

protected CamelConsumerEndpoint getCamelConsumerEndpoint()


Copyright © 2005-2010 Apache Software Foundation. All Rights Reserved.