Keith Wall created QPID-6601:
--------------------------------
Summary: 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
Fix For: 6.0 [Java]
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: [email protected]
For additional commands, e-mail: [email protected]