[
https://issues.apache.org/jira/browse/AMQ-7068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656822#comment-16656822
]
ASF GitHub Bot commented on AMQ-7068:
-------------------------------------
GitHub user JohBa opened a pull request:
https://github.com/apache/activemq/pull/312
[AMQ-7068] Advisory messages are empty when received with a AMQP
subscription
This pull request does not tackle the whole problem, but part of it.
Maps `ConnectionInfo` an parts of `RemoveInfo` advisory messages for usage
with AMQP.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/JohBa/activemq master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq/pull/312.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #312
----
commit 8c7e320dca569bdcf2157d9b248d8223f2f6a750
Author: Johannes Bäurle <johannes.baeurle@...>
Date: 2018-10-18T12:27:07Z
Partly mapped ConnectionInfo advisory message for AMQP
commit ab36bd4ab514a72053ad695cfe2082a097c94f15
Author: Johannes Bäurle <johannes.baeurle@...>
Date: 2018-10-18T12:31:16Z
Merge remote-tracking branch 'upstream/master'
commit 182fbab114a53d4ae2b9c7a6436e7a67794e4795
Author: Johannes Bäurle <johannes.baeurle@...>
Date: 2018-10-18T12:33:14Z
Mapping for removeInfo with connectionId for AMQP advisory message
commit ef34fb1c5872e2b8dc4ecc19e87e9737cd74c331
Author: Johannes Bäurle <johannes.baeurle@...>
Date: 2018-10-18T12:36:26Z
Add Tests
commit 4ab7fd0aac52ca3e2f37ecc4bd7487eb93120ec5
Author: Johannes Bäurle <johannes.baeurle@...>
Date: 2018-10-19T13:38:53Z
adjust tests
----
> Advisory messages are empty when received with a AMQP subscription
> ------------------------------------------------------------------
>
> Key: AMQ-7068
> URL: https://issues.apache.org/jira/browse/AMQ-7068
> Project: ActiveMQ
> Issue Type: New Feature
> Components: AMQP, Transport
> Affects Versions: 5.15.6
> Environment: ActiveMQ 5.15.6, JDK 1.8.0_161, Windows 10, AMQPNetLite
> 2.1.4
> Reporter: Johannes Baeurle
> Priority: Minor
> Attachments: issueamq.PNG, issueamq2.PNG, issueamq3.PNG
>
>
> We are currently moving from OpenWire to AMQP with .NET Library amqpnetlite
> ([https://github.com/Azure/amqpnetlite)] to communicate. So far most things
> work fine, but we actively used and need the advisory messages in order to
> recognize if other clients disconnect for example.
> Accessing the advisory messages through the topic is not the problem, but the
> body is null for the ActiveMQ.Advisory.Connection topic. There are some
> properties set, but no body set and I'm not able to find any important
> information, like the RemoveInfo. I attached a few screenshots from debugger.
> To be honest, I don't know if this is the desired behavior, but I think if
> there are messages on the advisory topic they should be useful.
> I know that a byte representation wouldn't be that useful, but you could
> present the information in json or xml format, like in Stomp?
> (https://issues.apache.org/jira/browse/AMQ-2098)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)