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.patch
        11 kB
        Rob Godfrey
      2. QPID-189-2.patch
        2 kB
        Rob Godfrey

        Activity

        Hide
        Robert Greig added a comment -

        Patch applied as svn revision 487383

        Show
        Robert Greig added a comment - Patch applied as svn revision 487383
        Hide
        Rob Godfrey added a comment -

        Patch to JMSBytesMessage to follow the encoding implictly required by the spec for Strings

        Show
        Rob Godfrey added a comment - Patch to JMSBytesMessage to follow the encoding implictly required by the spec for Strings
        Hide
        Rob Godfrey added a comment -

        Patch to BasicMessageProducer.java to enable conversion into AbstractJMSMessage

        Show
        Rob Godfrey added a comment - Patch to BasicMessageProducer.java to enable conversion into AbstractJMSMessage
        Hide
        Robert Greig added a comment -

        Rob Godfrey is working on this issue.

        Show
        Robert Greig added a comment - Rob Godfrey is working on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development