You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Rajesh Reddy Kasala (Jira)" <ji...@apache.org> on 2020/10/12 07:46:00 UTC

[jira] [Comment Edited] (ARTEMIS-2940) Able to set the properties in AMQP interceptor but they does not exist when consumer received the message

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

Rajesh Reddy Kasala edited comment on ARTEMIS-2940 at 10/12/20, 7:45 AM:
-------------------------------------------------------------------------

The below text was copied from the readme for the 'broker-plugin' example at :

AMQP Messages should be by definition immutable at the server's. So, we don't recommend changing message contents. However if you require you can use this example as a basis for adding properties on making changes


was (Author: rajesh reddy kasala):
AMQP Messages should be by definition immutable at the server's. So, we don't recommend changing message contents. However if you require you can use this example as a basis for adding properties on making changes

> Able to set the properties in AMQP interceptor but they does not exist when consumer received the message
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-2940
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2940
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: AMQP
>            Reporter: Rajesh Reddy Kasala
>            Priority: Major
>
> When we set the properties in AMQP interceptor:
> SimpleAmqpInterceptor.java
> message.putStringProperty("key", "value");
>  
> And try to get the property when consumer receive it:
> InterceptorExample.java
> messageReceived.getStringProperty("key");
>  
> Issue can be replicated using 
> examples/features/standard/interceptor-amqp/src/main/java/org/apache/activemq/artemis/amqp/example/InterceptorExample.java
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)