qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-4617) getJMSReplyTo does not return null for when ReplyTo property is empty
Date Tue, 05 Mar 2013 15:55:11 GMT

    [ https://issues.apache.org/jira/browse/QPID-4617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593509#comment-13593509

Rajith Attapattu commented on QPID-4617:


The underlying issue is that when you set the replyTo property we set the packing flag even
though it's null.
public final MessageProperties setReplyTo(ReplyTo value) {
    this.replyTo = value;
    packing_flags |= 2048;
    return this;

I will be adding a null check there to ensure we don't create a ReplyTo struct with null values.

I missed the original JIRA. I will look for it and close that as a dup.


> getJMSReplyTo does not return null for when ReplyTo property is empty
> ---------------------------------------------------------------------
>                 Key: QPID-4617
>                 URL: https://issues.apache.org/jira/browse/QPID-4617
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>            Priority: Minor
>             Fix For: 0.21
> If the replyTo property is not set or explicitly set to null, on the receiver side, getJMSReplyTo
should return null.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message