org.apache.servicemix.camel.nmr
Class ServiceMixProducer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultProducer
          extended by org.apache.servicemix.camel.nmr.ServiceMixProducer
All Implemented Interfaces:
org.apache.camel.IsSingleton, org.apache.camel.Processor, org.apache.camel.Producer, org.apache.camel.Service

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

A Producer that receives exchanges from the ServiceMix NMR and sends Exchanges into the Camel route


Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultProducer
log
 
Constructor Summary
ServiceMixProducer(ServiceMixEndpoint endpoint)
           
 
Method Summary
 ServiceMixEndpoint getEndpoint()
           
 void process(org.apache.camel.Exchange exchange)
           
 
Methods inherited from class org.apache.camel.impl.DefaultProducer
createExchange, createExchange, createExchange, doStart, doStop, 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

ServiceMixProducer

public ServiceMixProducer(ServiceMixEndpoint endpoint)
Method Detail

getEndpoint

public ServiceMixEndpoint getEndpoint()
Specified by:
getEndpoint in interface org.apache.camel.Producer
Overrides:
getEndpoint in class org.apache.camel.impl.DefaultProducer

process

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


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