Class DefaultDestinationTopicResolver

All Implemented Interfaces:
EventListener, Aware, ApplicationContextAware, ApplicationListener<ContextRefreshedEvent>, DestinationTopicContainer, DestinationTopicResolver

public class DefaultDestinationTopicResolver extends ExceptionClassifier implements DestinationTopicResolver, ApplicationListener<ContextRefreshedEvent>, ApplicationContextAware
Default implementation of the DestinationTopicResolver interface. The container is closed when a ContextRefreshedEvent is received and no more destinations can be added after that.
Since:
2.7
Author:
Tomaz Fernandes, Gary Russell, Yvette Quinby
  • Constructor Details

    • DefaultDestinationTopicResolver

      @Deprecated(since="2.9", forRemoval=true) public DefaultDestinationTopicResolver(Clock clock, ApplicationContext applicationContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • DefaultDestinationTopicResolver

      public DefaultDestinationTopicResolver(Clock clock)
      Constructs an instance with the given clock.
      Parameters:
      clock - the clock to be used for time-based operations such as verifying timeouts.
      Since:
      2.9
    • DefaultDestinationTopicResolver

      public DefaultDestinationTopicResolver()
      Constructs an instance with a default clock.
      Since:
      2.9
  • Method Details