activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martyn Taylor <mtay...@redhat.com>
Subject Re: Add mqtt protocol to artemis Wildfly
Date Mon, 31 Jul 2017 12:49:43 GMT
There are 2 files you need to change:

wildfly-10.1.0.Final/modules/system/layers/base/org/apache/activemq/artemis/main/module.xml
wildfly-10.1.0.Final/modules/system/layers/base/org/apache/activemq/artemis/protocol/mqtt/main/module.xml

You also need to drop the following jars into the mqtt/main directory:

artemis-mqtt-protocol-1.1.0.wildfly-017.jar
netty-codec-mqtt-5.0.0.Alpha2.jar

This worked for me:

./bin/standalone.sh -c standalone-full.xml | grep "MQTT"
13:49:24,804 INFO  [org.apache.activemq.artemis.core.server] (ServerService
Thread Pool -- 64) AMQ221043: Protocol module found:
[artemis-mqtt-protocol]. Adding protocol support for: MQTT

I've attached my mqtt module.xml for reference.

Cheers









On Mon, Jul 31, 2017 at 1:20 PM, aragoubi <aymen.rag@gmail.com> wrote:

> I want to use mqtt with Artemis activemq. I tried adding a module for mqtt
> exactely like in this post
> https://stackoverflow.com/questions/39427558/how-to-
> work-with-mqtt-in-wildfly.
> My problem is the same, I can't see the *Adding protocol support for: MQTT*
> when I start wildfly.
> I am starting wildfly as standalone-full.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Add-mqtt-protocol-to-artemis-Wildfly-tp4729059.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
View raw message