You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2014/09/16 12:25:33 UTC

[jira] [Updated] (QPID-3678) Can't set prefetch to 0 using capacity option in address

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

Rob Godfrey updated QPID-3678:
------------------------------
    Attachment: QPID-3678.patch

I believe the attached patch implements a capacity : 0 synchronous receive pattern.  

> Can't set prefetch to 0 using capacity option in address
> --------------------------------------------------------
>
>                 Key: QPID-3678
>                 URL: https://issues.apache.org/jira/browse/QPID-3678
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.14
>            Reporter: Gordon Sim
>              Labels: addressing
>         Attachments: QPID-3678.patch
>
>
> E.g. 'my-queue; {link:{capacity:0}}'
> will result in the default prefetch (500) being used/ This means you can't configure a consumer to only pull messages as needed by receive() calls.



--
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