[
https://issues.apache.org/jira/browse/ARTEMIS-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17052700#comment-17052700
]
ASF subversion and git services commented on ARTEMIS-1209:
----------------------------------------------------------
Commit e9ee9956bd0d879e0ac241547384bede848d132d in activemq-artemis's branch
refs/heads/master from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=e9ee995 ]
ARTEMIS-2639 lost notif props with OpenWire+divert
Historically speaking, all message properties starting with AMQ HDR
would not be passed to OpenWire messages. However, that blocked the
properties from management notifications so ARTEMIS-1209 was raised and
the solution there was to pass properties that started with _AMQ *if*
the consumer was connected to the management notification address.
However, in this case messages are diverted to a different address so
this check fails and the properties are removed. My solution will be to
check the message itself to see if it has the _AMQ_NotifType property
(which all notification messages do) rather than checking where the
consumer is connected.
> JMS OpenWire client cannot read notifications from activemq.notifications
> topic
> -------------------------------------------------------------------------------
>
> Key: ARTEMIS-1209
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1209
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: OpenWire
> Affects Versions: 2.1.0
> Reporter: Ingo Weiss
> Priority: Major
> Fix For: 2.2.0
>
>
> When receiving from activemq.notifications with OpenWire, the received
> messages are lacking the _AMQ properties which hold the content of the
> notification.
> When using Core or AMQP, the properties are present.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)