qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-160) Dispatch router does not propagate custom message annotations
Date Thu, 22 Sep 2016 18:19:21 GMT

    [ https://issues.apache.org/jira/browse/DISPATCH-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514058#comment-15514058
] 

ASF GitHub Bot commented on DISPATCH-160:
-----------------------------------------

Github user ganeshmurthy commented on a diff in the pull request:

    https://github.com/apache/qpid-dispatch/pull/101#discussion_r80103666
  
    --- Diff: src/message.c ---
    @@ -787,44 +787,103 @@ static void send_handler(void *context, const unsigned char *start,
int length)
         pn_link_send(pnl, (const char*) start, length);
     }
     
    +/**
    + * Returns true if the data backing the iterator matches any of the router specific annotations
like "x-opt-qd.ingress" or
    + * "x-opt-qd.trace" or "x-opt-qd.to" or "x-opt-qd.phase
    + */
    +static bool qd_message_is_router_annotation(qd_field_iterator_t *iter)
    --- End diff --
    
    I failed to read the doc for qd_field_iterator_prefix. I have used it now instead of qd_message_is_router_annotation


> Dispatch router does not propagate custom message annotations
> -------------------------------------------------------------
>
>                 Key: DISPATCH-160
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-160
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Router Node, Routing Engine
>    Affects Versions: 0.4
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Critical
>             Fix For: 0.7.0
>
>
> Steps to reproduce - 
> Create an AMQP message with a custom message annotation - 
> ma['custom-annotation'] = 'Custom_Annotation Content'
> Send this message via a dispatch router and receive this message. The received message
does not contain the 'custom-annotation'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message