[
https://issues.apache.org/jira/browse/QPIDJMS-219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15657481#comment-15657481
]
ASF subversion and git services commented on QPIDJMS-219:
---------------------------------------------------------
Commit 06a7216253c2640aeba37ec3e889ff1598037780 in qpid-jms's branch
refs/heads/master from Robert Gemmell
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=06a7216 ]
QPIDJMS-219: allow listeners when prefetch is 0, flow a new credit as needed
> allow MessageListeners to be used when prefetch is configured to 0
> -------------------------------------------------------------------
>
> Key: QPIDJMS-219
> URL: https://issues.apache.org/jira/browse/QPIDJMS-219
> Project: Qpid JMS
> Issue Type: Improvement
> Components: qpid-jms-client
> Affects Versions: 0.11.1
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Fix For: 0.20.0
>
>
> Currently if prefetch is configured to 0 via the URI, the client will refuse
> to let you register a MessageListener with a consumer, requiring it to be set
> to at least 1. This means you can't do no-prefetch synchronous receives and
> asynchonous listeners on the same connection (without resorting to use of
> code to configure custom prefetch policies for each consumer).
> Allow listeners when prefetch is set to 0, issuing a single credit when it is
> registered, and then after each message is consumed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]