Uploaded image for project: 'Spring AMQP'
  1. Spring AMQP
  2. AMQP-499

AMQP Exclusive Consumer Access Refused Should not be an ERROR

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.4.4
    • Fix Version/s: 1.5 RC1
    • Component/s: RabbitMQ
    • Labels:

      Description

      When a queue is being consumed as exclusive and another consumer attempts to consume the current message is listed as an ERROR. Since this is normal behavior ERROR is an incorrect message level. This is alarming too many operations people and generates repeated concerns to "fix the problem" which is not a problem, it is expected behavior.

      In production systems it is very difficult to ignore ERROR messages and in the case where we use a CachingConnectionFactory the consumers being refused access are FLOODING log files with ERROR messages that should be re-classified as either WARN or INFO.

      Either a reclassification or the message or a flag to allow us to force the message to be written as either INFO or WARN is needed for production systems.

      2015-05-19 08:29:50 ERROR [CachingConnectionFactory.java:249] Channel shutdown: channel error; protocol method: #method<channel.close>(reply-code=403, reply-text=ACCESS_REFUSED - queue 'smart.peoplesoft.out' in vhost '/' in exclusive use, class-id=60, method-id=20)
      

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            DustyP53 Dusty Pressley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: