Class BasicConsumer

    • Constructor Detail

      • BasicConsumer

        public BasicConsumer()
    • Method Detail

      • stop

        public void stop()
      • withQueue

        public BasicConsumer withQueue​(java.lang.String s)
      • consumeLocationKey

        public java.lang.String consumeLocationKey()
      • getQueue

        public java.lang.String getQueue()
        The queue to consume from.
      • setQueue

        public void setQueue​(java.lang.String queue)
        The queue to consume from.
      • getEnvelopeHandler

        public Translator.EnvelopeHandler getEnvelopeHandler()
        How to handle the Delivery#getEnvelope().

        If not explicitly configured, then the envelope associated with the incoming message is ignored.

      • setEnvelopeHandler

        public void setEnvelopeHandler​(Translator.EnvelopeHandler envelopeHandler)
        How to handle the Delivery#getEnvelope().

        If not explicitly configured, then the envelope associated with the incoming message is ignored.

      • getPropertiesHandler

        public Translator.BasicPropertiesHandler getPropertiesHandler()
        How to handle the Delivery#getProperties().

        If not explicitly configured, then any properties associated with the incoming message are ignored

      • setPropertiesHandler

        public void setPropertiesHandler​(Translator.BasicPropertiesHandler propertiesHandler)
        How to handle the Delivery#getProperties().

        If not explicitly configured, then any properties associated with the incoming message are ignored