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

Marco Carrer commented on AMQ-6972:
-----------------------------------

Would it be possible to add the original destination - original MQTT topic for 
the MQTT protocol - as a message annotation as it is done for the MQTT QoS?

 

We are able to easily retrive the original MQTT QoS with the following AMQP 
client code.

The original MQTT topic could be passed to AMQP consumer in the same way.

            Object activeMqQos = 
message.getApplicationProperties().getValue().get("ActiveMQ.MQTT.QoS");

Thanks.

 

> Original destination is not accessible via AMQP when using Virtual topics
> -------------------------------------------------------------------------
>
>                 Key: AMQ-6972
>                 URL: https://issues.apache.org/jira/browse/AMQ-6972
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 5.15.4
>            Reporter: Marco Carrer
>            Priority: Major
>
> ActiveMQ MQTT transport is configured for virtual topics -  
> transport.subscriptionStrategy=mqtt-virtual-topic-subscriptions. All other 
> configuration options are default.
> Messages are published into the broker using MQTT.
> Messages are consumed from the broker using AMQP from the address 
> "queue://Consumer.clientA.VirtualTopic.>".
> Messages are correctly received by the AMQP receiver but there is no property 
> or annotation in the message which allows the consumer to retrive the 
> original MQTT topic on which the message was published to.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to