Class CamelDirectMessageListenerContainer

java.lang.Object
org.springframework.amqp.rabbit.connection.RabbitAccessor
org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer
org.springframework.amqp.rabbit.listener.DirectMessageListenerContainer
org.apache.camel.component.springrabbit.CamelDirectMessageListenerContainer
All Implemented Interfaces:
MessageListenerContainer, org.springframework.amqp.rabbit.listener.MessageListenerContainer, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle

public class CamelDirectMessageListenerContainer extends org.springframework.amqp.rabbit.listener.DirectMessageListenerContainer implements MessageListenerContainer
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer

    org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.JavaLangErrorHandler, org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.SharedConnectionNotInitializedException, org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.WrappedTransactionException
  • Field Summary

    Fields inherited from class org.springframework.amqp.rabbit.listener.DirectMessageListenerContainer

    consumers

    Fields inherited from class org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer

    consumersMonitor, DEFAULT_DEBATCHING_ENABLED, DEFAULT_PREFETCH_COUNT, DEFAULT_RECOVERY_INTERVAL, DEFAULT_SHUTDOWN_TIMEOUT

    Fields inherited from class org.springframework.amqp.rabbit.connection.RabbitAccessor

    logger

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.amqp.core.AmqpAdmin
     

    Methods inherited from class org.springframework.amqp.rabbit.listener.DirectMessageListenerContainer

    actualStart, addQueueNames, addQueues, checkConnect, consumerRemoved, doInitialize, doRedeclareElementsIfNecessary, doShutdown, doStart, doStop, findIdleConsumer, processMonitorTask, removeQueueNames, removeQueues, setAckTimeout, setConsumersPerQueue, setExclusive, setMessagesPerAck, setMissingQueuesFatal, setMonitorInterval, setQueueNames, setTaskScheduler

    Methods inherited from class org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer

    actualInvokeListener, addAfterReceivePostProcessors, afterPropertiesSet, causeChainHasImmediateAcknowledgeAmqpException, checkMessageListener, checkMismatchedQueues, configureAdminIfNeeded, debatch, destroy, doInvokeListener, doInvokeListener, doSetPossibleAuthenticationFailureFatal, executeListener, executeListenerAndHandleException, getAcknowledgeMode, getAdviceChain, getAfterReceivePostProcessors, getApplicationContext, getApplicationEventPublisher, getBatchingStrategy, getBeanName, getConnectionFactory, getConsumeDelay, getConsumerArguments, getConsumerTagStrategy, getExclusiveConsumerExceptionLogger, getFailedDeclarationRetryInterval, getIdleEventInterval, getJavaLangErrorHandler, getLastReceive, getListenerId, getMessageAckListener, getMessageListener, getMessagePropertiesConverter, getPhase, getPrefetchCount, getQueueNames, getQueueNamesAsSet, getQueueNamesToQueues, getRecoveryBackOff, getRoutingConnectionFactory, getRoutingLookupKey, getShutdownTimeout, getTaskExecutor, getTransactionAttribute, getTransactionManager, handleListenerException, initialize, initializeProxy, invokeErrorHandler, invokeListener, isActive, isAlwaysRequeueWithTxManagerRollback, isAsyncReplies, isAutoDeclare, isAutoStartup, isChannelLocallyTransacted, isDeBatchingEnabled, isDefaultRequeueRejected, isExclusive, isExposeListenerChannel, isForceCloseChannel, isGlobalQos, isMismatchedQueuesFatal, isMissingQueuesFatal, isMissingQueuesFatalSet, isNoLocal, isPossibleAuthenticationFailureFatal, isPossibleAuthenticationFailureFatalSet, isRunning, isStatefulRetryFatalWithNullMessageId, lazyLoad, prepareHolderForRollback, publishConsumerFailedEvent, publishIdleContainerEvent, publishMissingQueueEvent, redeclareElementsIfNecessary, removeAfterReceivePostProcessor, setAcknowledgeMode, setAdviceChain, setAfterReceivePostProcessors, setAlwaysRequeueWithTxManagerRollback, setAmqpAdmin, setApplicationContext, setApplicationEventPublisher, setAutoDeclare, setAutoStartup, setBatchingStrategy, setBeanName, setConsumeDelay, setConsumerArguments, setConsumerTagStrategy, setDeBatchingEnabled, setDefaultRequeueRejected, setErrorHandler, setErrorHandlerLoggerName, setExclusiveConsumerExceptionLogger, setExposeListenerChannel, setFailedDeclarationRetryInterval, setForceCloseChannel, setGlobalQos, setIdleEventInterval, setjavaLangErrorHandler, setListenerId, setLookupKeyQualifier, setMessageAckListener, setMessageListener, setMessagePropertiesConverter, setMicrometerEnabled, setMicrometerTags, setMismatchedQueuesFatal, setNoLocal, setNotRunning, setObservationConvention, setObservationEnabled, setPhase, setPossibleAuthenticationFailureFatal, setPrefetchCount, setQueues, setRecoveryBackOff, setRecoveryInterval, setShutdownTimeout, setStatefulRetryFatalWithNullMessageId, setTaskExecutor, setTransactionAttribute, setTransactionManager, setupMessageListener, shutdown, start, stop, updateLastReceive, validateConfiguration, wrapToListenerExecutionFailedExceptionIfNeeded

    Methods inherited from class org.springframework.amqp.rabbit.connection.RabbitAccessor

    convertRabbitAccessException, createConnection, getChannel, getConnection, getObservationRegistry, getTransactionalResourceHolder, isChannelTransacted, obtainObservationRegistry, setChannelTransacted, setConnectionFactory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.amqp.rabbit.listener.MessageListenerContainer

    isConsumerBatchEnabled

    Methods inherited from interface org.springframework.context.SmartLifecycle

    stop
  • Constructor Details

    • CamelDirectMessageListenerContainer

      public CamelDirectMessageListenerContainer(SpringRabbitMQEndpoint endpoint)
  • Method Details

    • getAmqpAdmin

      public org.springframework.amqp.core.AmqpAdmin getAmqpAdmin()
      Specified by:
      getAmqpAdmin in interface MessageListenerContainer
      Overrides:
      getAmqpAdmin in class org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer