org.apache.servicemix.camel.nmr
Class ServiceMixEndpoint
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
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
public class ServiceMixEndpoint
- extends org.apache.camel.impl.DefaultEndpoint
A Camel Endpoint to interact with the ServiceMix NMR from within a Camel route
| Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, 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, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
start, stop |
RUN_AS_SUBJECT
public static final java.lang.String RUN_AS_SUBJECT
- See Also:
- Constant Field Values
ServiceMixEndpoint
public ServiceMixEndpoint(ServiceMixComponent component,
java.lang.String uri,
java.lang.String endpointName)
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-2012 The Apache Software Foundation. All Rights Reserved.