Uploaded image for project: 'ActiveMQ C++ Client'
  1. ActiveMQ C++ Client
  2. AMQCPP-196

Make the openwire connecter handle sending messages sync or async based on rules and settings

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • Openwire
    • None

    Description

      The only messages that really require a synchronous send are persistant messages not in a transaction, so we should send the rest asynchronously. We should support flags for forcing always sync sends and also forcing async sends of persistant messages not in a transaction as well.

      We will need to also start monitoring the producer window size since messages will be going out async. This means we needs to somehow get close to the message sizes that the broker will be returning in the ProducerAck message. This will allow use to use better producer flow control for async sends.

      Currently all our sends are sync so we just depend on the broker for flow control, stalling on a send if a timeout is not set.

      This should result in a net performance increase for message that don't need to be sent synchronously.

      Attachments

        Activity

          Resolved in trunk, new configuration parameters are documented on the Wiki

          tabish Timothy A. Bish added a comment - Resolved in trunk, new configuration parameters are documented on the Wiki

          People

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: