activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-4244) RA activation spec maxMessagesPerSessions property not honored.
Date Thu, 03 Jan 2013 18:52:12 GMT
Hiram Chirino created AMQ-4244:
----------------------------------

             Summary: RA activation spec maxMessagesPerSessions property not honored.
                 Key: AMQ-4244
                 URL: https://issues.apache.org/jira/browse/AMQ-4244
             Project: ActiveMQ
          Issue Type: Bug
          Components: JCA Container
    Affects Versions: 5.7.0
            Reporter: Hiram Chirino


Seems like it was supposed to control prefetching, right now it has no effect.  see:

https://github.com/apache/activemq/blob/trunk/activemq-ra/src/main/java/org/apache/activemq/ra/ActiveMQEndpointWorker.java#L170

Connection settings are the only way to configure the prefetching when used in a resource
adapter now.

Would be nice if a the maxMessagesPerSessions setting could be renamed to something simpler
like prefetchSize.  And IF set, then it overrides the connection defaults.




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message