Re: Artemis 2.18.0 is filling all the disc with oldreplica files

2021-10-26 Thread Saulo Carvalho
I made the same test on 2.17 and there's no problem. Maybe something on 2.18? Em ter., 26 de out. de 2021 às 17:55, Saulo Carvalho escreveu: > Is there some way to limit it? Or maybe some way to not use all the disc? > Cause Artemis is crashing when it's full... > And even... Why the files is

Re: Artemis 2.18.0 is filling all the disc with oldreplica files

2021-10-26 Thread Saulo Carvalho
Is there some way to limit it? Or maybe some way to not use all the disc? Cause Artemis is crashing when it's full... And even... Why the files is that big? Em seg., 25 de out. de 2021 às 12:03, Saulo Carvalho escreveu: > If there is a limit to oldreplica files, we could determine the size of >

Re: [EXTERNAL] Re: ActiveMQ classic Producer ACK question

2021-10-26 Thread Justin Bertram
It doesn't really matter that you're using Spring JMS. It will use the OpenWire JMS client implementation under the covers. >From what I can see in the code, if sendTimeout is set then the producer will throw a JMSException when the timeout elapses without receiving a response back from the

RE: [EXTERNAL] Re: ActiveMQ classic Producer ACK question

2021-10-26 Thread Gunawan, Rahman (HQ-LP013)[BUSINESS INTEGRA, INC.]
I'm using Spring JMS template. The code is: try { jmsTemplate.convertAndSend(Destination, Object); } catch (JmsException e) { //Do Something } If the connection/port is frozen, will it go to exception case when it is timeout (default timeout=300ms?)? The execution will be blocked

AMQ Classic 15.5 (Windows)

2021-10-26 Thread Shawn Trent
Hello, Hoping someone may have a thought here on a problem I am seeing with AMQ on Windows. The problem seemed simple till I tried to resolve it. I am randomly getting java.lang.OutOfMemoryError: Java heap space I attempted to set the windows environment variable to compensate for this Set

Re: ActiveMQ classic Producer ACK question

2021-10-26 Thread JB Onofré
Hi That’s the case by default with JMS. Regards JB > Le 26 oct. 2021 à 19:39, Gunawan, Rahman (HQ-LP013)[BUSINESS INTEGRA, INC.] > a écrit : > > I'm using ActiveMQ 5.15.11. Is there a way for producer to receive > acknowledgement (ACK) from ActiveMQ? The producer needs to know if the

Re: ActiveMQ classic Producer ACK question

2021-10-26 Thread Justin Bertram
Yes. This is done automatically for persistent messages sent from the OpenWire JMS client. See the documentation [1] for more details. Justin [1] https://activemq.apache.org/async-sends On Tue, Oct 26, 2021 at 12:40 PM Gunawan, Rahman (HQ-LP013)[BUSINESS INTEGRA, INC.] wrote: > I'm using

ActiveMQ classic Producer ACK question

2021-10-26 Thread Gunawan, Rahman (HQ-LP013)[BUSINESS INTEGRA, INC.]
I'm using ActiveMQ 5.15.11. Is there a way for producer to receive acknowledgement (ACK) from ActiveMQ? The producer needs to know if the message is received by activeMQ in case of activeMQ port is hung or bad connection. Thanks Rahman

Re: Keycloak confidential access type for Artemis admin console

2021-10-26 Thread Thai Le
Thank you for confirming. Thai Le On Tue, Oct 26, 2021 at 9:57 AM Gary Tully wrote: > yes. see the detail at: https://github.com/hawtio/hawtio-oauth > it utilises the keycloak javascript client - > https://www.keycloak.org/docs/latest/securing_apps/#_javascript_adapter > > On Mon, 25 Oct 2021

Re: Keycloak confidential access type for Artemis admin console

2021-10-26 Thread Gary Tully
yes. see the detail at: https://github.com/hawtio/hawtio-oauth it utilises the keycloak javascript client - https://www.keycloak.org/docs/latest/securing_apps/#_javascript_adapter On Mon, 25 Oct 2021 at 18:30, Thai Le wrote: > > Hello, > > In the security-keycloak example, the client

Re: pause acceptance and delivery of messages in ActiveMQ 5.16.3

2021-10-26 Thread Tim Bain
The success of that approach would depend on how OP's clients are interacting with the broker. If all producers are OpenWire connect and stay connected forever with no disconnects and no producers coming and going, then this manual process could work. If producers come and go (including due to

Re: pause acceptance and delivery of messages in ActiveMQ 5.16.3

2021-10-26 Thread Simon Lundström
Isn't it also possible to stop the client connector via JMX? org.apache.activemq:type=Broker,brokerName=esb-test-mq04.it.su.se,connector=clientConnectors,connectorName=ssl has a stop operation. Does this not work the way OP intends? Pause queue(s), stop connector(s). No messages in or out?