org.apache.servicemix.camel.nmr
Class ServiceMixEndpoint

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      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, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

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

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


Field Summary
static java.lang.String RUN_AS_SUBJECT
           
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
ServiceMixEndpoint(ServiceMixComponent component, java.lang.String uri, java.lang.String endpointName)
           
 
Method Summary
 void configureProperties(java.util.Map<java.lang.String,java.lang.Object> options)
           
 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()
           
 java.lang.Long getTimeOut()
           
 boolean isRunAsSubject()
           
 boolean isSingleton()
           
 boolean isSynchronous()
           
 void setEndpointName(java.lang.String endpointName)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Field Detail

RUN_AS_SUBJECT

public static final java.lang.String RUN_AS_SUBJECT
See Also:
Constant Field Values
Constructor Detail

ServiceMixEndpoint

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

configureProperties

public void configureProperties(java.util.Map<java.lang.String,java.lang.Object> options)
Specified by:
configureProperties in interface org.apache.camel.Endpoint
Overrides:
configureProperties in class org.apache.camel.impl.DefaultEndpoint

getComponent

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

isSingleton

public boolean isSingleton()

isSynchronous

public boolean isSynchronous()
Overrides:
isSynchronous in class org.apache.camel.impl.DefaultEndpoint

isRunAsSubject

public boolean isRunAsSubject()

getTimeOut

public java.lang.Long getTimeOut()

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-2013 The Apache Software Foundation. All Rights Reserved.