Class StreamListenerContainer

java.lang.Object
org.springframework.rabbit.stream.listener.StreamListenerContainer
All Implemented Interfaces:
MessageListenerContainer, Aware, BeanNameAware, InitializingBean, Lifecycle, Phased, SmartLifecycle

public class StreamListenerContainer extends Object implements MessageListenerContainer, BeanNameAware
A listener container for RabbitMQ Streams.
Since:
2.4
Author:
Gary Russell
  • Field Details

  • Constructor Details

    • StreamListenerContainer

      public StreamListenerContainer(com.rabbitmq.stream.Environment environment)
      Construct an instance using the provided environment.
      Parameters:
      environment - the environment.
    • StreamListenerContainer

      public StreamListenerContainer(com.rabbitmq.stream.Environment environment, @Nullable com.rabbitmq.stream.Codec codec)
      Construct an instance using the provided environment and codec.
      Parameters:
      environment - the environment.
      codec - the codec used to create reply messages.
  • Method Details