Intercept mqtt client connection

2017-12-13 Thread Gupta Bharat
Hello, I want to intercept clients when trying to connect in order to do some checks before allowing them to connect. How could I add needed features to Artemis broker interceptor? Is this possible in ActiveMQ? I have written following code which is not working on connecting the activemq broke

Re: Using Topics and Queues for both Java-based and Node.js-based services

2017-12-13 Thread Tim Bain
There are Javascript libraries for the STOMP ( http://activemq.apache.org/stomp.html) protocol, though I can't vouch for or recommend any of them specifically. Tim On Dec 13, 2017 2:22 AM, "Adrian Brown" wrote: > I think RabbitMQ let’s you map MQTT topics to AMQP can remember for sure > but ha

Re: ActiveMQ custom plugin

2017-12-13 Thread Tim Bain
Bharat, I hadn't caught that this question was about making the connection rather vs. the first question about sending messages across it; thanks for helping me understand your question. As far as I know, the interception capabilities of 5.x apply only to the core broker using the interface you u

Re: Artemis 2.4.0 active/active cluster throws NullPointerException

2017-12-13 Thread toddbaert
I believe this issue was fixed on Dec 11: JIRA here: https://issues.apache.org/jira/browse/ARTEMIS-1542 PRs here: https://github.com/apache/activemq-artemis/pull/1701 https://github.com/apache/activemq-artemis/pull/1702 -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341

HA/Failover- Backup Server Priority

2017-12-13 Thread toddbaert
With Artemis, is it possible to designate priority of servers acting as backups? For example, if I have a live server L1, and it has backups (either shared-store or repilicated) S1, and S2, is it possible to configure the brokers in such a way that S1 will become the backup for L1 if it crashes, an

Re: Using Topics and Queues for both Java-based and Node.js-based services

2017-12-13 Thread Adrian Brown
I think RabbitMQ let’s you map MQTT topics to AMQP can remember for sure but have a look at https://www.rabbitmq.com/mqtt.html On Wed, 13 Dec 2017 at 8:04 pm, Ulf Lilleengen wrote: > On 12. des. 2017 22:50, Jeroen van Ooststroom wrote: > > Hello, > > > > Coming back to the discussion on the apa

Re: Using Topics and Queues for both Java-based and Node.js-based services

2017-12-13 Thread Ulf Lilleengen
On 12. des. 2017 22:50, Jeroen van Ooststroom wrote: Hello, Coming back to the discussion on the apache-activemq IRC channel of possible Topics and Queues when using ActiveMQ’s MQTT service. First a bit of history then. We’ve have been using multiple Java-based services for quite a bit of ye