Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-6601

CHN messages 1002/1004 are logged for every receive call if prefetch zero is used

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-6.0
    • Broker-J
    • None

    Description

      If I use the Qpid JMS Client with a prefetch of zero, messages are fetched one by one, from the Broker. Internally the client archives this with the 0-8..0-91 protocol using the channel.qos and using channel.flow.

      On the Java Broker side, currently it logs a CHN-1004 for every channel.qos received, and a CHN-1002 every time the flow is stopped or started. When polling for messages, this means there are three operational logging line per message. This is not useful to the end user.

      2015-06-19 10:21:31,712 INFO  [IO-/127.0.0.1:49447] (q.m.c.prefetch_size) - [con:3(guest@/127.0.0.1:49447/default)/ch:2] CHN-1004 : Prefetch Size (bytes) 0 : Count 1
      2015-06-19 10:21:31,714 INFO  [IO-/127.0.0.1:49447] (q.m.c.flow) - [con:3(guest@/127.0.0.1:49447/default)/ch:2] [con:3(guest@/127.0.0.1:49447/default)/ch:2] CHN-1002 : Flow Started
      2015-06-19 10:21:31,726 INFO  [IO-/127.0.0.1:49447] (q.m.c.flow) - [con:3(guest@/127.0.0.1:49447/default)/ch:2] [con:3(guest@/127.0.0.1:49447/default)/ch:2] CHN-1002 : Flow Stopped
      

      Task is to change the Broker so that CHN-1004 is logged once per session. Also change so that CHN-1002 is not logged in the special case when message polling is in use.

      Attachments

        Activity

          People

            orudyy Alex Rudyy
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: