I would recommend you using artemis with mqtt on 2.2.0.. or AMQ. so
that is use artemis remotely from wildfly, which would still work.


2.2.0 currently can't be embedded on wildfly (there are some changes
to be done on artemis messaging layer).


Like the recent bug fix on mqtt.. I don't think it's been fixed on 1.5.x;

On Mon, Jul 31, 2017 at 8:49 AM, Martyn Taylor <[email protected]> wrote:
> 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 <[email protected]> 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.
>
>



-- 
Clebert Suconic

Reply via email to