Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4864

The JMS client shouldn't hold a lock when creating a messge

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16, 0.18, 0.20, 0.22
    • 0.23
    • JMS AMQP 0-x
    • None

    Description

      The JMS client needlessly holds the failover mutex when creating a text message. It also sets the session.

      When creating messages to be sent, they should be just value objects and should not hold any state.

      When constructing a message to be given to the consumer, we have to set the session, so acknowledge can be called. But not when we create messages for sending.

      Attachments

        Activity

          People

            rajith Rajith Muditha Attapattu
            rajith Rajith Muditha Attapattu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: