Re: broker diagram question

2021-03-28 Thread Howard Gao
Can't see your diagram somehow. But anyway it is expected to show actual connections between broker nodes in your cluster. It not please raise a bug. On Fri, Mar 26, 2021 at 6:58 PM Dondorp, Erwin wrote: > Hello again! > > > > I have a small question about the broker diagram. > > I’m using a 3-n

Re: consuming artemis with a reactive stream

2020-06-11 Thread Howard Gao
If I understand it right, you are using concurrent consumers that share the session. The session is not thread safe. You should use one consumer per session. Howard On Thu, Jun 11, 2020 at 3:14 PM Matthieu Baechler wrote: > Hi folks, > > I work on Apache James, the JVM mail server, for some yea

Re: Artemis - audit logging and anonymous user

2020-04-25 Thread Howard Gao
Some of the audit log method have the username passed in explicitly and so get correctly logged. Some others however don't, in which case the audit logger uses Subject.getSubject(context) in an attempt to acquire the caller. But within broker I believe most of the operations doesn't associated the

Re: Message loss while reconnecting to artemis if it is down

2020-01-12 Thread Howard Gao
Hi, Make sure you use persistent messages if you don't want them lost. And your client needs to resend the message on failure from the broker. Howard On Tue, Jan 7, 2020 at 10:01 PM pujitha wrote: > Hi, > while client is producing messages, if artemis server is down.. client is > looking for r

Re: Client side load balancing

2019-09-06 Thread Howard Gao
The document seems a bit ambiguous. If you are using core client you can use the server locator (with ha) to create clientSessionFactory. Each client session factory will point to a different node in your cluster (roundrobin case). Client sessions from on client session factory shares one same phys

Re: ActiveMQ Artemis with Spring Boot not connecting with broker

2019-09-05 Thread Howard Gao
It looks like there is something wrong with Epoll in your system. Did you try useEpoll=false on the acceptors of the broker? it will force the netty to use java NIO instead of the native linux epoll. Howard On Thu, Sep 5, 2019 at 9:15 PM helenoster wrote: > We have a spring-boot application tha

Re: I need some help

2019-09-05 Thread Howard Gao
X:+UseSerialGC* in line 49 and 56, otherwise i have this >> message: >> >> [image: image.png] >> >> Adding that parameter the server works fine. >> >> Thanks again >> >> El jue., 5 sept. 2019 a las 0:53, Howard Gao () >> escribió: >> &

Re: I need some help

2019-09-04 Thread Howard Gao
I noticed you work on Windows. Do you have any firewall settings on windows? I tried on windows 7 and it works for me. Maybe your installation steps are different. Can you share the steps you are using? (the steps you use 'artemis create' command) Howard On Thu, Sep 5, 2019 at 9:40 AM

Re: I need some help

2019-09-04 Thread Howard Gao
ance"; > >xmlns:xi="http://www.w3.org/2001/XInclude"; > >xsi:schemaLocation="urn:activemq > > /schema/artemis-configuration.xsd"> > > > >http://www.w3.org/2001/XMLSchema-instance"; > >

Re: I need some help

2019-09-04 Thread Howard Gao
; I share my configuration by google drive >> > >> > https://drive.google.com/open?id=17H81BGk9XdaohnyIyr-eXmqsdE7-_adJ >> > >> > [image: image.png] >> > >> > Thanks again. I am not going to be tired if I repeat thanks jajaj >> > >> > E

Re: Artemis - MQTT subscription: wrong * handling

2019-09-04 Thread Howard Gao
Do you mean the message content changes from path1/* to path1/+? If so I think it's a bug and you can raise a bug with test attached to help investigate. On Mon, Aug 26, 2019 at 7:43 PM Modanese, Riccardo wrote: > Hello, > I’m playing a bit with Artemis using MQTT clients (Paho). > I noticed an

Re: Unable to start artemis-service.exe

2019-09-04 Thread Howard Gao
Did you check the artemis-service.xml file? I think there was a bug that has been fixed recently. Make sure in the xml you have added the wildfly-common-xxx.jar to your bootclasspath. Howard On Thu, Aug 22, 2019 at 2:18 AM Senki wrote: > Hi, > > I was using ActiveMQ Artemis on linux without an

Re: I need some help

2019-09-04 Thread Howard Gao
Hi, Can't see the image attached. But make sure the console address is http://localhost:8161/console if you keep everything default. Also if you send your configuration (i.e. everything under /etc dir) I can take a look. Howard On Wed, Sep 4, 2019 at 9:03 PM Javier Crer wrote: > Sorry to inter

Re: ActiveMQ Artemis Create connection Timeout

2019-04-02 Thread Howard Gao
I think you mean connection ttl? If you use core api, you can use ServerLocator.setConnectionTTL(). On Tue, Apr 2, 2019 at 3:26 AM PedroRP wrote: > Hi all! > > Is it possible to set a timeout to create a connection from a connection > factory on an ActiveMQ Artemis broker? I have looked for it

Re: Connection TTL

2018-05-24 Thread Howard Gao
Did you try the latest release and see if this is fixed? Howard On Thu, May 24, 2018 at 3:04 AM, Denis V. Kirpichenkov < denis.kirpichen...@gmail.com> wrote: > Hello! > > I'm using Artemis as an embedded server, so I want to disable all > connection ttl checking. To do so I set connection ttl to

Re: Artemis 2.4.0 active/active cluster throws NullPointerException

2017-12-07 Thread Howard Gao
I think you can do a jira for this. It surely sounds like a bug to me. On Thu, Dec 7, 2017 at 5:41 PM, andi welchlin wrote: > Hello, > > Looking into the code I think this could be a bug: > > > I can see, that AMQPMessage.getAddress() can return null: > > >@Override >public String getAdd

Re: Artemis cannot find LIBAIO, although it is installed

2017-11-09 Thread Howard Gao
I'm using ubuntu 16.04 and I have no problem like that (although I build artemis from master). I can only guess that your java.library.path didn't get passed to JVM correctly. On Fri, Nov 10, 2017 at 7:01 AM, ipolevoy wrote: > Hey, guys. > > We were unable to configure libaio and are still usin