Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-4244

RA activation spec maxMessagesPerSessions property not honored.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.7.0
    • NEEDS_REVIEW
    • JCA Container
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chirino Hiram R. Chirino
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: