You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2008/04/09 20:49:24 UTC

[jira] Created: (QPID-911) MessageID is not set for outgoing messages if that is the only property set

MessageID is not set for outgoing messages if that is the only property set
---------------------------------------------------------------------------

                 Key: QPID-911
                 URL: https://issues.apache.org/jira/browse/QPID-911
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M3
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu
             Fix For: M3


The method "setMessageId(String messageId)" in BasicContentHeaderProperties doesn't set the _hasBeenUpdated to true when a message id is set.
If no other properties were set then this would cause, contentHeaderProperties.reset() to return false hence the message id is not copied to the MessageProperties in the "sendMessage" method in BasicMessageProducer_0_10.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (QPID-911) MessageID is not set for outgoing messages if that is the only property set

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajith Attapattu resolved QPID-911.
-----------------------------------

    Resolution: Fixed

A fix for this has been commited on trunk in r646519.

> MessageID is not set for outgoing messages if that is the only property set
> ---------------------------------------------------------------------------
>
>                 Key: QPID-911
>                 URL: https://issues.apache.org/jira/browse/QPID-911
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M3
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: M3
>
>
> The method "setMessageId(String messageId)" in BasicContentHeaderProperties doesn't set the _hasBeenUpdated to true when a message id is set.
> If no other properties were set then this would cause, contentHeaderProperties.reset() to return false hence the message id is not copied to the MessageProperties in the "sendMessage" method in BasicMessageProducer_0_10.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (QPID-911) MessageID is not set for outgoing messages if that is the only property set

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajith Attapattu closed QPID-911.
---------------------------------


The fix has been verified. Closing issue.

> MessageID is not set for outgoing messages if that is the only property set
> ---------------------------------------------------------------------------
>
>                 Key: QPID-911
>                 URL: https://issues.apache.org/jira/browse/QPID-911
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M3
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: M3
>
>
> The method "setMessageId(String messageId)" in BasicContentHeaderProperties doesn't set the _hasBeenUpdated to true when a message id is set.
> If no other properties were set then this would cause, contentHeaderProperties.reset() to return false hence the message id is not copied to the MessageProperties in the "sendMessage" method in BasicMessageProducer_0_10.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.