Interface AMQVersionAwareProtocolSession

  • All Superinterfaces:
    AMQProtocolWriter, ProtocolVersionAware

    public interface AMQVersionAwareProtocolSession
    extends AMQProtocolWriter, ProtocolVersionAware
    AMQVersionAwareProtocolSession is implemented by all AMQP session classes, that need to provide an awareness to callers of the version of the AMQP protocol that they are able to work with.

    TODO Why is this a separate interface to ProtocolVersionAware, could they be combined into a single interface and one of them eliminated? Move getRegistry method to ProtocolVersionAware, make the sessions implement AMQProtocolWriter directly and drop this interface.