If an incoming publish has a topic alias set, but outgoing topic aliases are not permitted, the topic alias currently slips though and is not overridden or removed when the properties are passed over to the outgoing publish. This change checks for the "TopicAlias" attribute on the incoming message properties and deletes it before being passed to the outgoing publish.
If an incoming publish has a topic alias set, but outgoing topic aliases are not permitted, the topic alias currently slips though and is not overridden or removed when the properties are passed over to the outgoing publish. This change checks for the "TopicAlias" attribute on the incoming message properties and deletes it before being passed to the outgoing publish.
Signed-off-by: James Sutton james.sutton@uk.ibm.com