You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2016/11/11 16:43:58 UTC

[jira] [Resolved] (QPIDJMS-219) allow MessageListeners to be used when prefetch is configured to 0

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

Robbie Gemmell resolved QPIDJMS-219.
------------------------------------
    Resolution: Fixed

> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org