You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2009/11/20 21:49:53 UTC

[jira] Commented: (AMQ-1105) Misuse of maxMessages when creating a connection consumer

    [ https://issues.apache.org/activemq/browse/AMQ-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55653#action_55653 ] 

Bruce Snyder commented on AMQ-1105:
-----------------------------------

See the {{ActiveMQConnection.createDurableConnectionConsumer()}} and {{ActiveMQConnection.createConnectionConsumer()}} methods where {{info.setPrefetchSize(maxMessages)}} is called. I think Guillaume is saying that the {{maxMessages}} param is being misapplied. 

> Misuse of maxMessages when creating a connection consumer
> ---------------------------------------------------------
>
>                 Key: AMQ-1105
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1105
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Connector
>            Reporter: Guillaume Nodet
>             Fix For: 5.4.0
>
>
> It seems the maxMessages given to the connection when creating a connection consumer
> is usually used to allow a maximum number of messages to be dispatched for a single ServerSession 
> run (so the WorkManager is not exhaust by ever lasting works ?).
> Currently, this parameter is used to indicate the destination prefetch size.

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