You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robert Greig (JIRA)" <qp...@incubator.apache.org> on 2006/12/14 16:55:21 UTC

[jira] Created: (QPID-189) producer.sendMessage must not assume the Message argument is a Qpid implementation class

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

                 Key: QPID-189
                 URL: http://issues.apache.org/jira/browse/QPID-189
             Project: Qpid
          Issue Type: Bug
            Reporter: Robert Greig
         Assigned To: Robert Greig


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (QPID-189) producer.sendMessage must not assume the Message argument is a Qpid implementation class

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-189?page=all ]

Robert Greig resolved QPID-189.
-------------------------------

    Fix Version/s: M2
       Resolution: Fixed

Patch applied as svn revision 487383

> producer.sendMessage must not assume the Message argument is a Qpid implementation class
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-189
>                 URL: http://issues.apache.org/jira/browse/QPID-189
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS Compliance
>    Affects Versions: M1
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>             Fix For: M2
>
>         Attachments: QPID-189-2.patch, QPID-189.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-189) producer.sendMessage must not assume the Message argument is a Qpid implementation class

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-189?page=all ]

Rob Godfrey updated QPID-189:
-----------------------------

    Attachment: QPID-189-2.patch

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

> producer.sendMessage must not assume the Message argument is a Qpid implementation class
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-189
>                 URL: http://issues.apache.org/jira/browse/QPID-189
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS Compliance
>    Affects Versions: M1
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>         Attachments: QPID-189-2.patch, QPID-189.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-189) producer.sendMessage must not assume the Message argument is a Qpid implementation class

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-189?page=all ]

Robert Greig updated QPID-189:
------------------------------

          Component/s: JMS Compliance
    Affects Version/s: M1

Rob Godfrey is working on this issue.

> producer.sendMessage must not assume the Message argument is a Qpid implementation class
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-189
>                 URL: http://issues.apache.org/jira/browse/QPID-189
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS Compliance
>    Affects Versions: M1
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-189) producer.sendMessage must not assume the Message argument is a Qpid implementation class

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-189?page=all ]

Rob Godfrey updated QPID-189:
-----------------------------

    Attachment: QPID-189.patch

Patch to BasicMessageProducer.java to enable conversion into AbstractJMSMessage

> producer.sendMessage must not assume the Message argument is a Qpid implementation class
> ----------------------------------------------------------------------------------------
>
>                 Key: QPID-189
>                 URL: http://issues.apache.org/jira/browse/QPID-189
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS Compliance
>    Affects Versions: M1
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>         Attachments: QPID-189.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira