Hi! When doing a health:check i get the following:
Echo RPC (passive) [ Failure ] => did not receive a recent response - maxAge: PT1M30S
From log:
13:03:44.244 INFO [Camel (camel-4) thread #5 - JmsConsumer[OpenNMS.Twin.Sink]] Successfully refreshed JMS Connection
13:03:48.822 INFO [Timer-2] Sending heartbeat to Minion with id: 4982d098-98a9-11ea-bd84-005056a10bfd at location: test1
13:03:49.245 WARN [Camel (camel-4) thread #5 - JmsConsumer[OpenNMS.Twin.Sink]] Setup of JMS message listener invoker failed for destination 'OpenNMS.Twin.Sink' - trying to recover. Cause: User minion is not authorized to read from: topic://OpenNMS.Twin.Sink
What is the content of the authorizationMap in your opennms-activemq.xml ?
Are the Twin SInk and RPC entries there?
<authorizationMap>
<authorizationEntries>
<!-- Users in the admin role can read/write/create any queue/topic -->
<authorizationEntry queue=">" read="admin" write="admin" admin="admin" />
<authorizationEntry topic=">" read="admin" write="admin" admin="admin"/>
<!-- Users in the minion role can write/create queues that are not keyed by location -->
<authorizationEntry queue="OpenNMS.*.*" write="minion" admin="minion" />
<!-- Users in the minion role can read/create from queues that are keyed by location -->
<authorizationEntry queue="OpenNMS.*.*.*" read="minion" admin="minion" />
<!-- Users in the minion role can read from topic OpenNMS.Twin.Sink -->
<authorizationEntry topic="OpenNMS.Twin.Sink" read="minion" admin="minion" />
<!-- Users in the minion role can write queue OpenNMS.Twin.RPC -->
<authorizationEntry queue="OpenNMS.Twin.RPC" write="minion" admin="minion" />
<!-- Users in the minion role can read/write/create advisory topics -->
<authorizationEntry topic="ActiveMQ.Advisory.>" read="minion" write="minion" admin="minion"/>
</authorizationEntries>
<!-- Allow all users to read/write/create temporary destinations (by omitting a <tempDestinationAuthorizationEntry>) -->
</authorizationMap>