Qpid
  1. Qpid
  2. QPID-189

producer.sendMessage must not assume the Message argument is a Qpid implementation class

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: M1
    • Fix Version/s: M2
    • Component/s: Java Client
    • Labels:

      Description

      Currently BasicMessageProducer.send(Message) casts the supplied message to AbstractJMSMessage which is a Qpid-specific implementation class.

      In order to be JMS compliant we must support other implementations of Message, i.e. not rely on the cast working.

      1. QPID-189-2.patch
        2 kB
        Rob Godfrey
      2. QPID-189.patch
        11 kB
        Rob Godfrey

        Activity

          People

          • Assignee:
            Robert Greig
            Reporter:
            Robert Greig
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development