activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matze2 <...@git.apache.org>
Subject [GitHub] activemq-artemis issue #1584: ARTEMIS-1461 Allow changing of messages throug...
Date Thu, 12 Oct 2017 10:27:46 GMT
Github user Matze2 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1584
  
    I tried the latest snapshot with an AmqpInterceptor implementation. This does not work.
    ```
    	@Override
    	public boolean intercept(final AMQPMessage message, RemotingConnection connection) {
    		logger.info("AMQP Interceptor gets called with message " + message.getMessageID());
    		logger.info("Properties before: " + message.getPropertyNames());
    		message.putStringProperty("newProp", "newPropValue");
    		logger.info("Properties after: " + message.getPropertyNames());
    		return true;
    	}
    
    ```
    The listener does not see the "newProp" property added here.
    Will try the broker plugin example now.


---

Mime
View raw message