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

        Robert Greig created issue -
        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.
        Robert Greig made changes -
        Field Original Value New Value
        Component/s JMS Compliance [ 12311501 ]
        Affects Version/s M1 [ 12312115 ]
        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
        Rob Godfrey made changes -
        Attachment QPID-189.patch [ 12347230 ]
        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
        Rob Godfrey made changes -
        Attachment QPID-189-2.patch [ 12347231 ]
        Hide
        Robert Greig added a comment -

        Patch applied as svn revision 487383

        Show
        Robert Greig added a comment - Patch applied as svn revision 487383
        Robert Greig made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s M2 [ 12312116 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow jira [ 12392437 ] QPid [ 12438135 ]
        Gavin made changes -
        Workflow QPid [ 12438135 ] QPid Workflow [ 12439523 ]
        Robbie Gemmell made changes -
        Labels jms_compliance
        Robbie Gemmell made changes -
        Component/s Java Client [ 12311389 ]
        Component/s JMS Compliance [ 12311501 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        7h 16m 1 Robert Greig 14/Dec/06 23:10

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development