qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wall (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-6601) CHN messages 1002/1004 are logged for every receive call if prefetch zero is used
Date Thu, 06 Aug 2015 07:58:04 GMT

     [ https://issues.apache.org/jira/browse/QPID-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Keith Wall updated QPID-6601:
-----------------------------
    Status: Reviewable  (was: In Progress)

> CHN messages 1002/1004 are logged for every receive call if prefetch zero is used
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-6601
>                 URL: https://issues.apache.org/jira/browse/QPID-6601
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>             Fix For: qpid-java-6.0
>
>
> 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.
> {noformat}
> 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
> {noformat}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message