Class SpringRabbitMQCustomEndpoint
java.lang.Object
org.apache.camel.support.service.BaseService
org.apache.camel.support.service.ServiceSupport
org.apache.camel.support.DefaultEndpoint
org.apache.camel.component.springrabbit.SpringRabbitMQEndpoint
org.qubership.integration.platform.engine.camel.components.rabbitmq.SpringRabbitMQCustomEndpoint
- All Implemented Interfaces:
AutoCloseable,org.apache.camel.AsyncEndpoint,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.8.0",
scheme="rabbitmq-custom",
title="Spring RabbitMQ custom",
syntax="rabbitmq-custom:exchangeName",
category=MESSAGING,
headersClass=org.apache.camel.component.springrabbit.SpringRabbitMQConstants.class)
public class SpringRabbitMQCustomEndpoint
extends org.apache.camel.component.springrabbit.SpringRabbitMQEndpoint
-
Field Summary
Fields inherited from class org.apache.camel.component.springrabbit.SpringRabbitMQEndpoint
ARG_PREFIX, BINDING_ARG_PREFIX, CONSUMER_ARG_PREFIX, DLQ_BINDING_PREFIX, DLQ_EXCHANGE_ARG_PREFIX, DLQ_QUEUE_ARG_PREFIX, EXCHANGE_ARG_PREFIX, QUEUE_ARG_PREFIXFields 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
ConstructorsConstructorDescriptionSpringRabbitMQCustomEndpoint(String endpointUri, org.apache.camel.Component component, String exchangeName) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureProperties(Map<String, Object> options) intcom.rabbitmq.client.MetricsCollectorMetricsCollectorintintintgetVhost()voidsetAddresses(String addresses) If this option is set, camel-rabbitmq will try to create connection based on the setting of option addresses.voidsetClientProperties(Map<String, Object> clientProperties) Connection client properties (client info used in negotiating with the server)voidsetConnectionTimeout(int connectionTimeout) Connection timeoutvoidsetMetricsCollector(com.rabbitmq.client.MetricsCollector metricsCollector) MetricsCollectorvoidsetPassword(String password) Password for authenticated accessvoidsetRequestedChannelMax(int requestedChannelMax) Connection requested channel max (max number of channels offered)voidsetRequestedFrameMax(int requestedFrameMax) Connection requested frame max (max size of frame offered)voidsetRequestedHeartbeat(int requestedHeartbeat) Connection requested heartbeat (heart-beat in seconds offered)voidsetSslProtocol(String sslProtocol) Enables SSL on connection, accepted value are `true`, `TLS` and 'SSLv3`voidsetTrustManager(TrustManager trustManager) Configure SSL trust manager, SSL should be enabled for this option to be effectivevoidsetUsername(String username) Username in case of authenticated accessvoidThe vhost for the channelMethods inherited from class org.apache.camel.component.springrabbit.SpringRabbitMQEndpoint
configureMessageListener, createConsumer, createExchange, createInOnlyTemplate, createInOutTemplate, createMessageListenerContainer, createPollingConsumer, createProducer, declareElements, doInit, getAcknowledgeMode, getArgs, getBindingArgs, getComponent, getConcurrentConsumers, getConfirm, getConfirmTimeout, getConnectionFactory, getConsumerArgs, getDeadLetterExchange, getDeadLetterExchangeType, getDeadLetterQueue, getDeadLetterRoutingKey, getDlqBindingArgs, getDlqExchangeArgs, getDlqQueueArgs, getExchangeArgs, getExchangeName, getExchangeType, getMaxConcurrentConsumers, getMaximumRetryAttempts, getMessageConverter, getMessageListenerContainerType, getMessagePropertiesConverter, getPrefetchCount, getQueueArgs, getReplyTimeout, getRetry, getRetryDelay, getRoutingKey, isAllowNullBody, isAsyncConsumer, isAutoDeclare, isAutoStartup, isDisableReplyTo, isExclusive, isNoLocal, isRejectAndDontRequeue, isSynchronous, isTestConnectionOnStartup, isUsePublisherConnection, parseArgsBoolean, parseArgsString, setAcknowledgeMode, setAllowNullBody, setArgs, setAsyncConsumer, setAutoDeclare, setAutoStartup, setConcurrentConsumers, setConfirm, setConfirmTimeout, setConnectionFactory, setDeadLetterExchange, setDeadLetterExchangeType, setDeadLetterQueue, setDeadLetterRoutingKey, setDisableReplyTo, setExchangeType, setExclusive, setMaxConcurrentConsumers, setMaximumRetryAttempts, setMessageConverter, setMessageListenerContainerType, setMessagePropertiesConverter, setNoLocal, setPrefetchCount, setQueues, setRejectAndDontRequeue, setReplyTimeout, setRetry, setRetryDelay, setRoutingKey, setSynchronous, setTestConnectionOnStartup, setUsePublisherConnectionMethods inherited from class org.apache.camel.support.DefaultEndpoint
configureConsumer, configureExchange, configurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, 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, 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
getComponent, setComponentMethods inherited from interface org.apache.camel.Endpoint
configureExchange, createAsyncProducer, createExchange, createExchange, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, getExchangePattern, isLenientProperties, isSingletonProducer, setCamelContextMethods inherited from interface org.apache.camel.IsSingleton
isSingletonMethods 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
-
SpringRabbitMQCustomEndpoint
-
-
Method Details
-
configureProperties
- Specified by:
configurePropertiesin interfaceorg.apache.camel.Endpoint- Overrides:
configurePropertiesin classorg.apache.camel.support.DefaultEndpoint
-
getQueues
- Overrides:
getQueuesin classorg.apache.camel.component.springrabbit.SpringRabbitMQEndpoint
-
setAddresses
If this option is set, camel-rabbitmq will try to create connection based on the setting of option addresses. The addresses value is a string which looks like "server1:12345, server2:12345" -
getAddresses
-
getUsername
-
setUsername
Username in case of authenticated access -
getPassword
-
setPassword
Password for authenticated access -
getVhost
-
setVhost
The vhost for the channel -
getConnectionTimeout
public int getConnectionTimeout() -
setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout) Connection timeout -
getRequestedChannelMax
public int getRequestedChannelMax() -
setRequestedChannelMax
public void setRequestedChannelMax(int requestedChannelMax) Connection requested channel max (max number of channels offered) -
getRequestedFrameMax
public int getRequestedFrameMax() -
setRequestedFrameMax
public void setRequestedFrameMax(int requestedFrameMax) Connection requested frame max (max size of frame offered) -
getRequestedHeartbeat
public int getRequestedHeartbeat() -
setRequestedHeartbeat
public void setRequestedHeartbeat(int requestedHeartbeat) Connection requested heartbeat (heart-beat in seconds offered) -
getSslProtocol
-
setSslProtocol
Enables SSL on connection, accepted value are `true`, `TLS` and 'SSLv3` -
getTrustManager
-
setTrustManager
Configure SSL trust manager, SSL should be enabled for this option to be effective -
getClientProperties
-
setClientProperties
Connection client properties (client info used in negotiating with the server) -
getMetricsCollector
public com.rabbitmq.client.MetricsCollector getMetricsCollector()MetricsCollector -
setMetricsCollector
public void setMetricsCollector(com.rabbitmq.client.MetricsCollector metricsCollector) MetricsCollector
-