You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2008/11/06 17:19:52 UTC

[jira] Commented: (QPID-1289) [Java Client] Allow client to set prefetch using system property & reduce default to 500

    [ https://issues.apache.org/jira/browse/QPID-1289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645502#action_12645502 ] 

Martin Ritchie commented on QPID-1289:
--------------------------------------

Aidan,
I'd use QpidTestCase.setSystemProperty 

That way you don't have to remember the system property and reset the value with a finally block as QTC can take care of this for you.

> [Java Client] Allow client to set prefetch using system property & reduce default to 500
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-1289
>                 URL: https://issues.apache.org/jira/browse/QPID-1289
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M3
>            Reporter: Marnie McCormack
>            Assignee: Rob Godfrey
>             Fix For: M4
>
>         Attachments: QPID-1289.patch
>
>
> Currently JMS users can't override the default prefetch value - they get stuck with the default from AMQSession when a consumer is created. We need to be able to pick up a client system property and use that to allow priority queues to work in any useful way (they need a prefetch of 1).
> We should also reduce the default max buffer size to 500. May be that the 0.10 code already handles this ? We need it also on the 0.8 Java code.
> Please update instructions here with details of How To once complete:
> http://cwiki.apache.org/confluence/display/qpid/Use+Priority+Queues

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.