Class DMSEndpoint
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.apache.camel.component.huaweicloud.dms.DMSEndpoint
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.CamelContextAware,org.apache.camel.ComponentAware,org.apache.camel.Endpoint,org.apache.camel.IsSingleton,org.apache.camel.Service,org.apache.camel.ShutdownableService,org.apache.camel.spi.HasCamelContext,org.apache.camel.spi.HasId,org.apache.camel.StatefulService,org.apache.camel.SuspendableService
@UriEndpoint(firstVersion="3.12.0",
scheme="hwcloud-dms",
title="Huawei Distributed Message Service (DMS)",
syntax="hwcloud-dms:operation",
category=CLOUD,
producerOnly=true)
public class DMSEndpoint
extends org.apache.camel.support.DefaultEndpoint
To integrate with a fully managed, high-performance message queuing service on Huawei Cloud
-
Field Summary
Fields inherited from class org.apache.camel.support.service.BaseService
BUILT, FAILED, INITIALIZED, INITIALIZING, lock, NEW, SHUTDOWN, SHUTTING_DOWN, STARTED, STARTING, status, STOPPED, STOPPING, SUSPENDED, SUSPENDING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.ConsumercreateConsumer(org.apache.camel.Processor processor) org.apache.camel.ProducergetName()intintorg.apache.camel.component.huaweicloud.common.models.ServiceKeysintgetVpcId()booleanvoidsetAccessKey(String accessKey) voidsetAccessUser(String accessUser) voidsetAvailableZones(List<String> availableZones) voidsetDmsClient(DmsClient dmsClient) voidsetEndpoint(String endpoint) voidvoidsetEngineVersion(String engineVersion) voidsetIgnoreSslVerification(boolean ignoreSslVerification) voidsetInstanceId(String instanceId) voidsetKafkaManagerPassword(String kafkaManagerPassword) voidsetKafkaManagerUser(String kafkaManagerUser) voidvoidsetOperation(String operation) voidsetPartitionNum(int partitionNum) voidsetPassword(String password) voidsetProductId(String productId) voidsetProjectId(String projectId) voidsetProxyHost(String proxyHost) voidsetProxyPassword(String proxyPassword) voidsetProxyPort(int proxyPort) voidsetProxyUser(String proxyUser) voidvoidsetSecretKey(String secretKey) voidsetSecurityGroupId(String securityGroupId) voidsetServiceKeys(org.apache.camel.component.huaweicloud.common.models.ServiceKeys serviceKeys) voidsetSpecification(String specification) voidsetStorageSpace(int storageSpace) voidsetStorageSpecCode(String storageSpecCode) voidsetSubnetId(String subnetId) voidMethods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, equals, getCamelContext, getComponent, 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, toStringMethods inherited from class org.apache.camel.support.service.BaseService
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doStart, doStop, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.camel.ComponentAware
getComponentMethods inherited from interface org.apache.camel.Endpoint
getEndpointBaseUri, isSingletonProducerMethods inherited from interface org.apache.camel.Service
build, close, init, start, stopMethods inherited from interface org.apache.camel.ShutdownableService
shutdownMethods inherited from interface org.apache.camel.StatefulService
getStatus, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspendingMethods inherited from interface org.apache.camel.SuspendableService
isSuspended, resume, suspend
-
Constructor Details
-
DMSEndpoint
public DMSEndpoint() -
DMSEndpoint
-
-
Method Details
-
createProducer
- Throws:
Exception
-
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception - Throws:
Exception
-
getOperation
-
setOperation
-
getRegion
-
setRegion
-
getEndpoint
-
setEndpoint
-
getProjectId
-
setProjectId
-
getProxyHost
-
setProxyHost
-
getProxyPort
public int getProxyPort() -
setProxyPort
public void setProxyPort(int proxyPort) -
getProxyUser
-
setProxyUser
-
getProxyPassword
-
setProxyPassword
-
isIgnoreSslVerification
public boolean isIgnoreSslVerification() -
setIgnoreSslVerification
public void setIgnoreSslVerification(boolean ignoreSslVerification) -
getServiceKeys
public org.apache.camel.component.huaweicloud.common.models.ServiceKeys getServiceKeys() -
setServiceKeys
public void setServiceKeys(org.apache.camel.component.huaweicloud.common.models.ServiceKeys serviceKeys) -
getAccessKey
-
setAccessKey
-
getSecretKey
-
setSecretKey
-
getEngine
-
setEngine
-
getInstanceId
-
setInstanceId
-
getName
-
setName
-
getEngineVersion
-
setEngineVersion
-
getSpecification
-
setSpecification
-
getStorageSpace
public int getStorageSpace() -
setStorageSpace
public void setStorageSpace(int storageSpace) -
getPartitionNum
public int getPartitionNum() -
setPartitionNum
public void setPartitionNum(int partitionNum) -
getAccessUser
-
setAccessUser
-
getPassword
-
setPassword
-
getVpcId
-
setVpcId
-
getSecurityGroupId
-
setSecurityGroupId
-
getSubnetId
-
setSubnetId
-
getAvailableZones
-
setAvailableZones
-
getProductId
-
setProductId
-
getKafkaManagerUser
-
setKafkaManagerUser
-
getKafkaManagerPassword
-
setKafkaManagerPassword
-
getStorageSpecCode
-
setStorageSpecCode
-
getDmsClient
-
setDmsClient
-
initClient
-