Package org.apache.camel.component.cm
Class CMEndpoint
- java.lang.Object
-
- org.apache.camel.support.service.BaseService
-
- org.apache.camel.support.service.ServiceSupport
-
- org.apache.camel.support.DefaultEndpoint
-
- org.apache.camel.component.cm.CMEndpoint
-
- All Implemented Interfaces:
AutoCloseable
,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
@UriEndpoint(firstVersion="2.18.0", scheme="cm-sms", title="CM SMS Gateway", syntax="cm-sms:host", category=MOBILE, producerOnly=true) public class CMEndpoint extends org.apache.camel.support.DefaultEndpoint
Send SMS messages via CM SMS Gateway.
-
-
Constructor Summary
Constructors Constructor Description CMEndpoint(String uri, CMComponent component)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.camel.Consumer
createConsumer(org.apache.camel.Processor processor)
CMProducer
createProducer()
Provides a channel on which clients can send Messages to a CM EndpointString
getCMUrl()
CMComponent
getComponent()
CMConfiguration
getConfiguration()
String
getHost()
void
setConfiguration(CMConfiguration configuration)
void
setHost(String host)
SMS Provider HOST with scheme-
Methods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isPollingConsumerCopy, isSingleton, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerCopy, setPollingConsumerQueueSize, setProperties, toString
-
Methods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
CMEndpoint
public CMEndpoint(String uri, CMComponent component)
-
-
Method Detail
-
createProducer
public CMProducer createProducer() throws Exception
Provides a channel on which clients can send Messages to a CM Endpoint- Throws:
Exception
-
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
- Throws:
Exception
-
getConfiguration
public CMConfiguration getConfiguration()
-
setConfiguration
public void setConfiguration(CMConfiguration configuration)
-
getCMUrl
public String getCMUrl()
-
getComponent
public CMComponent getComponent()
- Overrides:
getComponent
in classorg.apache.camel.support.DefaultEndpoint
-
getHost
public String getHost()
-
setHost
public void setHost(String host)
SMS Provider HOST with scheme
-
-