activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martyn Taylor <mtay...@redhat.com>
Subject Re: Artemis as multiprotocol broker
Date Thu, 26 May 2016 08:42:25 GMT
Hi Luca,

Only 3.1.1 is supported in Artemis.  We've not tested against older
versions.  Could you ensure you are setting the version properly in your
client.

Error processing control packet usually means the client is doing something
wrong.  If you send me your test case / reproducer, I will take a look.

Thanks
Martyn

On Thu, May 26, 2016 at 9:06 AM, Luca Capra <luca.capra@gmail.com> wrote:

> Hi Martyn,
> thank you for your feedback!
>
> I had in fact two different acceptor on my broker.xml. I'm now using just
> one now. I've also moved to latest master 1.3-SNAPSHOT from git
>
> I noticed I get this exception now on connection via mqtt
>
> WARN: Error processing Control Packet, Disconnecting Client2
>
> From the debugger I can see it is an ArrayOutOfBoundException which happens
> somewhere around ctx.flush() in MqttProtocolHandler.sendConnack
>
> The client is mqttjs a nodejs based module implementing 3 -> 3.1.1 mqtt
> version
>
> I'm using a custom SecurityManager, but should not be at the cause of such
> issue
>
> Need to investigate better
>
> Best
> Luca
>
> 2016-05-25 21:40 GMT+02:00 Martyn Taylor <mtaylor@redhat.com>:
>
> > Hi Luca,
> >
> > You don't need any specific configuration to do this.  You can just set
> up
> > a MQTT Client and a STOMP client and start sending/receiving from the
> same
> > address.
> >
> > There are a couple of issues with Artemis versions <=1.2.0.  I've fixed
> > these issues on master and will be doing a 1.3.0 release very soon, it
> > should be available in the next week or so, your best bet is to wait for
> > this.
> >
> > I've also added a simple test to that shows this working.  See:
> >
> >
> https://github.com/apache/activemq-artemis/pull/543/commits/62d284d7765218ced2d0f441cf26ffaaaf3c26f2
> >
> > Thanks
> > Martyn
> >
> >
> > On Wed, May 25, 2016 at 3:58 PM, Luca Capra <luca.capra@gmail.com>
> wrote:
> >
> > > Hi all,
> > > on a project I'm working on I've switched from Apollo to Artemis.
> > >
> > > I'm running Artemis as an embed server and would like to have
> > > inter-protocol communication between stomp and mqtt.
> > >
> > > What I'm missing is if this can be done from configuration or creating
> an
> > > mqtt and stomp client each one to deliver messages the other one.
> > >
> > > Thank you
> > > Luca
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message