org.apache.servicemix.camel.nmr
Class ServiceMixEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.servicemix.camel.nmr.ServiceMixEndpoint
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Endpoint, org.apache.camel.IsSingleton

public class ServiceMixEndpoint
extends org.apache.camel.impl.DefaultEndpoint

A Camel Endpoint to interact with the ServiceMix NMR from within a Camel route


Constructor Summary
ServiceMixEndpoint(ServiceMixComponent component, java.lang.String uri, java.lang.String endpointName)
           
 
Method Summary
 org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
           
 org.apache.camel.Exchange createExchange(org.apache.servicemix.nmr.api.Exchange nmrExchange)
           
 org.apache.camel.Producer createProducer()
           
 ServiceMixComponent getComponent()
           
 java.lang.String getEndpointName()
           
 boolean isSingleton()
           
 void setEndpointName(java.lang.String endpointName)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, createScheduledExecutorService, equals, getCamelContext, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceMixEndpoint

public ServiceMixEndpoint(ServiceMixComponent component,
                          java.lang.String uri,
                          java.lang.String endpointName)
Method Detail

getComponent

public ServiceMixComponent getComponent()
Overrides:
getComponent in class org.apache.camel.impl.DefaultEndpoint

isSingleton

public boolean isSingleton()

createProducer

public org.apache.camel.Producer createProducer()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createConsumer

public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

createExchange

public org.apache.camel.Exchange createExchange(org.apache.servicemix.nmr.api.Exchange nmrExchange)

setEndpointName

public void setEndpointName(java.lang.String endpointName)

getEndpointName

public java.lang.String getEndpointName()


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