Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-949 Implement Flow To Disk
  3. QPID-1630

Provide unified message creation mechanism (MessageFactory)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • M4
    • None
    • Broker-J
    • None

    Description

      Currently, MessageHandleFactory is used to hand out the right handle type. WIth the removal of the MessageHandles this class will be redundant.

      However, a unified point for creating messages and so assigning message IDs would be beneficial.

      Currently the MessageStore is responsible for that task but a MessageFactory would localise that information and make it easier to see how a message is created.

      Currently IncomingMessage and the various MessageStores create the message in two different ways, understandable as one is recovery and one is normal delivery, however, using a MessageFactory would be a cleaner approach and localise the ID generation.

      Attachments

        Activity

          People

            rgodfrey Robert Godfrey
            ritchiem Martin Ritchie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 8h
                8h
                Logged:
                Time Spent - Not Specified
                Not Specified