Re: Artemis Cluster Management UI

2022-04-26 Thread David Martin
, the browser no longer overwrites the cookies and the sessions > are not lost. > > e. > > -Oorspronkelijk bericht- > Van: David Martin > Verzonden: dinsdag 26 april 2022 11:01 > Aan: users@activemq.apache.org > Onderwerp: Re: Artemis Cluster Management UI > > >

Re: Artemis Cluster Management UI

2022-04-26 Thread David Martin
One thing that could help a bit would be to bookmark a set of tabs in the browser but unfortunately when logging into a broker any existing session for another broker is invalidated. Perhaps there is a broker-side setting in hawtio to allow multiple concurrent sessions for different brokers in one

Re: ArtemisMQ 2.18 ARTEMIS-3271 not fixed

2021-12-21 Thread David Martin
Thanks Clebert - I guess this is related to ARTEMIS-3587 so will go to 2.20 asap. On Mon, 20 Dec 2021 at 20:05, Clebert Suconic wrote: > You should try 2.20.0 that's being released now > > On Mon, Dec 20, 2021 at 10:11 AM David Martin wrote: > > > > FYI found a simi

Re: ArtemisMQ 2.18 ARTEMIS-3271 not fixed

2021-12-20 Thread David Martin
FYI found a similar issue as the OPs after upgrading from 2.16 to 2.18 - perhaps 2.18 is better at detecting slow paths, can see some related tickets in 2.17 and 2.18 release notes. Turned out to be MiB/s throttling on cloud storage - increasing the allocation increased the threshold at which thro

Re: Artemis - management.xml

2021-12-07 Thread David Martin
2:41, Tim Bain wrote: > Great, I'm glad you were able to figure it out, and thanks for sharing the > root cause once you found it. > > Tim > > On Mon, Dec 6, 2021, 5:24 AM David Martin wrote: > > > Domenico, Tim, > > > > I've figured it out. >

Re: Artemis - management.xml

2021-12-06 Thread David Martin
tered Hawtio's behaviour - -Dcom.sun.management.jmxremote.authenticate=false perhaps? Thanks for all of your help, Dave On Mon, 6 Dec 2021 at 10:33, David Martin wrote: > Hi Domenico, > > root@artemis-0:/var/lib/artemis/etc# ls -l > total 44 > -rw-r--r-- 1 artemis a

Re: Artemis - management.xml

2021-12-06 Thread David Martin
icrok8s locally but I could try a different k8s next. Thanks, Dave On Sun, 5 Dec 2021 at 13:40, Tim Bain wrote: > To take the K8s networking out of the equation, maybe kubectl exec a shell > session into the container and invoke the curl command against localhost? > > And while yo

Re: Artemis - management.xml

2021-12-06 Thread David Martin
> could you get the artemis etc folder from your kubernetes container > and share it? > > Thanks, > Domenico > > > On Fri, 3 Dec 2021 at 17:17, David Martin wrote: > > > Hi Domenico, > > > > Thanks - after further experimentation It appears to be rel

Re: Artemis - management.xml

2021-12-03 Thread David Martin
t;0.0.0.0\"","attribute":"AddressMemoryUsage","type":"read"},"error_type":"java.lang.Exception","error":"java.lang.Exception > : User not authorized to access attribute: > AddressMemoryUsage","status":403}

Re: Artemis - management.xml

2021-12-02 Thread David Martin
mq,monitor"\/>/' ./broker/etc/management.xml > > 5) run the broker > ./broker/bin/artemis run > > 6) read the Active attribute > curl -H "Origin:http://localhost:8161"; -u test:test > > http://localhost:8161/console/jolokia/read/org.apache.activemq.ar

Re: Artemis - management.xml

2021-11-18 Thread David Martin
; > 5) run the broker > ./broker/bin/artemis run > > 6) read the Active attribute > curl -H "Origin:http://localhost:8161"; -u test:test > > http://localhost:8161/console/jolokia/read/org.apache.activemq.artemis:broker=\ > "0.0.0.0\"/Active > > {"request":{"mbean&qu

Artemis - management.xml

2021-11-18 Thread David Martin
Hi all, I'm trying to configure role access via the Jolokia REST API for the single attribute "Active" on the "org.apache.activemq.artemis" domain. I have a user with a role "monitor" and want them to be able to access nothing but the above attribute via e.g. /console/jolokia/read/org.apache.acti

Re: QPID JMS non-shared durable subscriptions via a load balancer

2021-07-24 Thread David Martin
> clientID to the same broker. > > Regards, > Domenico > > > On Fri, 23 Jul 2021 at 14:02, David Martin wrote: > > > Hi Domenico, > > > > OK thanks I'll have a look at that. > > > > Was considering writing a plugin to block authorisati

Re: QPID JMS non-shared durable subscriptions via a load balancer

2021-07-24 Thread David Martin
fix this issue by redirecting each client with the same > > clientID to the same broker. > > > > Regards, > > Domenico > > > > > > On Fri, 23 Jul 2021 at 14:02, David Martin wrote: > > > > > Hi Domenico, > > > > > > OK thanks I'll

Re: QPID JMS non-shared durable subscriptions via a load balancer

2021-07-23 Thread David Martin
balance incoming client connections according to their ClientID (or other > connection parameters), see the draft documentation[2] for further details. > > [2] > > https://github.com/brusdev/activemq-artemis/blob/broker_balancers/docs/user-manual/en/broker-balancers.md > > Rega

QPID JMS non-shared durable subscriptions via a load balancer

2021-07-23 Thread David Martin
Hi all, Puzzled by some behaviour we're seeing on a broker cluster of 3 live Artemis v2.16.0 brokers hosted on k8s which has an F5 in front of it terminating TLS and routing to a k8s node port forwarding to an AMQP acceptor for each broker. The cluster is healthy and has been up for about 2 months

Re: limit or put delays between messages when draining

2021-03-24 Thread David Martin
s possible > > to architect a system to limit the producer when the consumer is behind, > > I'd be very hesitant to do so, and would strongly consider other > approaches > > such as speeding up the consumer or configuring the message broker to > drop > > messag

Re: limit or put delays between messages when draining

2021-03-23 Thread David Martin
ld be very cautious > about any architecture that proposed the intentional linking of producer > processes and consumer processes via a flow control window, since it can > broaden the impact of problems beyond the process that is experiencing > them. > > Tim > > On Sat, Mar 2

Re: limit or put delays between messages when draining

2021-03-20 Thread David Martin
Hello, You could possibly try producer window-based flow control to stop messages backing up on the queue when consumers are offline (e.g. using an intermediate queue to store the backlog) - https://activemq.apache.org/components/artemis/documentation/1.0.0/flow-control.html Dave On Fri, Mar

Re: Local resilience for Artemis

2021-03-11 Thread David Martin
gt; > > > > > So I think it would be considerable safe to do reconnect the POD. > > > > So a damage in the file system or journal after a failure is IMO a > disaster situation. And for that I can only think of the mirror to mitigate > any of that. > > > >

Re: Local resilience for Artemis

2021-03-11 Thread David Martin
Sorry, just to add. I could create a kubernetes service for publishers with affinity to 2 of 4 brokers and another service for consumers with affinity to the other 2 but looking for something more dynamic if possible, to be able to scale out seamlessly. On Thu, 11 Mar 2021 at 13:52, David Martin

Local resilience for Artemis

2021-03-11 Thread David Martin
Hi, Looking to host an Artemis cluster in Kubernetes and am not sure how to achieve full local resilience. (Clusters for DR and remote distribution will be added later using the mirroring feature introduced with v2.16). It is configured as 3 active cluster members using static discovery because

Re: High cardinality queues

2020-07-26 Thread David Martin
Hi Alex, I'm not one of the maintainers and maybe they will respond. To clarify, are you asking whether routing high volumes of messages though a large number of addresses is likely to lead to poor performance versus using a small number of addresses? I can't answer that but Artemis was designed

Re: Support for BLOB types

2020-03-13 Thread David Martin
mq-artemis/blob/master/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/blob/FTPBlobTest.java > > > > -Ursprüngliche Nachricht- > Von: David Martin > Gesendet: Donnerstag, 12. März 2020 10:47 > An: users@activemq.apache.org > Betreff: Re: Support for BLOB typ

Re: Support for BLOB types

2020-03-12 Thread David Martin
Hi Tobias, Is there a specific reason for needing BlobMessage support? If you just want to send binary messages, including very large ones, both BytesMessage and StreamMessage are supported. https://activemq.apache.org/components/artemis/documentation/latest/large-messages.html Dave VAT Regis

Re: Failover for remote client connecting to cluster (no HA)

2020-02-27 Thread David Martin
I was just suggesting to check your cluster configuration against the reference examples, to make sure the nodes are actually working as a group. Could it be something as simple as the "ha" URI parameter being case-sensitive? In all the examples it's in lower case, not uppercase as you have it.

Re: Failover for remote client connecting to cluster (no HA)

2020-02-27 Thread David Martin
Hi Have you checked out the various examples for discovery here - https://github.com/apache/activemq-artemis/tree/master/examples/features/clustered ? Dave On Thu, Feb 27, 2020 at 8:18 AM Jarek Przygódzki wrote: > Hi, > I've been experimenting with Artemis cluster. Apparently remote clien

Re: ActiveMQ v5 plugin migration to Artemis

2020-02-25 Thread David Martin
t step is to raise a feature ticket for this? Thanks again Dave On Thu, Feb 20, 2020 at 5:15 PM David Martin wrote: > Hi Justin, > > Having done some analysis I think I need to do the following however it > appears that QueueConfig is intended to be immutable so maybe point (3)

Re: ActiveMQ v5 plugin migration to Artemis

2020-02-20 Thread David Martin
t; change the code to allow it in certain places like this. > > Would you be willing to send a PR with the changes you need? > > > Justin > > On Sat, Feb 15, 2020 at 11:14 AM David Martin wrote: > > > Hi Justin, > > > > AMQP or Core - can be either > >

Re: ActiveMQ v5 plugin migration to Artemis

2020-02-15 Thread David Martin
> > Would you be willing to send a PR with the changes you need? > > > Justin > > On Sat, Feb 15, 2020 at 11:14 AM David Martin wrote: > > > Hi Justin, > > > > AMQP or Core - can be either > > > > > > Thanks, > > > &

Re: ActiveMQ v5 plugin migration to Artemis

2020-02-15 Thread David Martin
Hi Justin, AMQP or Core - can be either Thanks, Dave On Fri, Feb 14, 2020, 11:02 PM Justin Bertram wrote: > What protocol are your clients going to be using? > > > Justin > > On Fri, Feb 14, 2020 at 3:28 PM David Martin wrote: > > > Thanks Chris - > >

Re: ActiveMQ v5 plugin migration to Artemis

2020-02-14 Thread David Martin
; https://github.com/apache/activemq-artemis/blob/master/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/plugin/ActiveMQServerConsumerPlugin.java > > On Thu, Feb 13, 2020 at 9:59 AM David Martin wrote: > > > Hi everyone, > > > > Decided to switch to Ar

Migrate ActiveMQ v5 plugin to Artemis

2020-02-13 Thread David Martin
Hi everyone, Decided to switch to Artemis which is not going to be difficult in the main but not sure of my best option to migrate an AMQv5 broker plugin which overrides *addConsumer()* to set a new destination and a message selector using broker-side business logic based on the user credentials.

ActiveMQ v5 plugin migration to Artemis

2020-02-13 Thread David Martin
Hi everyone, Decided to switch to Artemis which is not going to be difficult in the main but not sure of my best option to migrate a broker plugin which overrides *addConsumer()* to set a new destination and a message selector using broker-side business logic based on the user credentials. It look

Re: Simple high availability setup

2019-06-04 Thread David Martin
No problem - nb it's port 8161 not 8162 From: jb6622 Sent: 03 June 2019 21:56:30 To: users@activemq.apache.org Subject: RE: Simple high availability setup Hi Dave, Many thanks, that's an interesting approach - we are indeed using v5. I'll look into our load balan

RE: Simple high availability setup

2019-06-03 Thread David Martin
Hi What version of ActiveMQ are you referring to? For v5, it is possible to have a load balancer health check http://hostname:8162/jolokia/api on both broker instances of a master/slave setup - if it receives a response then this is the master and it should direct all traffic to this node. Da

RE: Invoking JMS API with JMS 2.0, ActiveMQ and osgi (karaf)

2019-04-17 Thread David Martin
I have used QPID JMS as an ActiveMQ client with no issues so would recommend you persevere with it. -Original Message- From: cooshal Sent: 17 April 2019 13:51 To: users@activemq.apache.org Subject: RE: Invoking JMS API with JMS 2.0, ActiveMQ and osgi (karaf) I just had a quick look at Q

RE: Invoking JMS API with JMS 2.0, ActiveMQ and osgi (karaf)

2019-04-17 Thread David Martin
A possible option is to use the QPID JMS driver - this is a v2.0 driver - with Active MQ v5. It uses AMQP to communicate with Active MQ instead of Openwire. -Original Message- From: cooshal Sent: 17 April 2019 08:32 To: users@activemq.apache.org Subject: Invoking JMS API with JMS 2.0, Ac

Relax Same Origin Policy for websockets clients (AMQ 5.15)?

2019-04-11 Thread David Martin
Hi everyone, How does AMQ 5.4+ serve websockets clients as per https://activemq.apache.org/websockets.html, and, how can it be configured? There is no Jetty webapp for it so there is no web.xml that I can update to relax the same origin policy. Thanks, Dave