Exceeded connections on Kubernetes 1.30

2024-09-13 Thread Marc Boorshtein
Has anyone else run into an issue where ActiveMQ 5.18.4 starts creating "“Exceeded the maximum number of allowed client connections” errors one Kubernetes 1.30? Same code in 1.29 I've never seen this issue. Looking at the connections list, I only see 5-6. I've seen this in AKS and an onprem clus

Way to specify alias for TLS?

2024-06-24 Thread Marc Boorshtein
I've setup multiple brokers that authenticate to each other via TLS authentication. So far the identity has been the same key because the usage is any. I need to use an internal CA to sign the certificate, and the certificate will be marked as server auth only. I haven't tested out using a serve

java.lang.IllegalStateException: KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory

2024-05-31 Thread Marc Boorshtein
Hello all, I've got ActiveMQ classic 5.18.4 setup to require mutual client authentication. When I create a keystore with a single private key and an additional certificate and it generally works great. When I instead try to use a single key for both the client and the server I get the following e

Re: Forward messages for specific queues only

2024-05-30 Thread Marc Boorshtein
> > > You can exclude the destinations which are problematic, mixing > dynamic/exclude/static on the transport connector: > > OK, so i can explicitly exclude destinations, but i can't limit which destinations get included exclusively? OK, I can manage that. I can exclude the DLQ at least so that

Forward messages for specific queues only

2024-05-29 Thread Marc Boorshtein
I've got two AMQ classic instances connected via : AMQ1: AMQ2: Messages pushed to openunison.k8s.obj.dr get forwarded as expected and are proce

Re: Setting up a network of brokers: queues not syncing

2024-05-22 Thread Marc Boorshtein
Thanks Matt for the explanation. We have two scenarios we want to be able to do: 1. In cluster HA - Right now we have one Deployment with a PVC. If the AMQ dies the client app stops working until the AMQ deployment is back up. It's not high volume at all. If I hear what you're saying, and have

Re: Setting up a network of brokers: queues not syncing

2024-05-22 Thread Marc Boorshtein
> > > > > When you say "queue" do you mean a JMS queue? Yes. (right now just from the admin interface). > Why would you necessarily > expect a queue created on one node to be created on a different node in the > network? This is the mental block i'm having. What my thought is that if a que

Setting up a network of brokers: queues not syncing

2024-05-22 Thread Marc Boorshtein
I've setup 3 brokers in Kubernetes as StatefulSets. Each one has its own unique broker name. In each broker config I setup a block similar to: Each broker connects to the other 2. Once all three are running i can see in the logs that they're connecting: amq-orchestra INFO |

Failover client exceeding maximum connections

2019-10-03 Thread Marc Boorshtein
I'm using org.apache.activemq.ActiveMQSslConnectionFactory with the url "failover:(ssl://host:port)?initialRreconnectDelay=1" and am seeing two odd behaviors: 1. Every few minutes we're seeing the client re-establish connections 2. Eventually the server exceeds its connections and stops acce

Jdbc connector with mariadb galera

2016-07-28 Thread Marc Boorshtein
I'm trying to connect activemq 5.13.4 to a mariadb 10.1 galera cluster. If only one server is up and running everything is great. Once I bring up a second server for fail over I get into a seesaw with lock timeouts. After some googling I found: https://groups.google.com/forum/m/#!topic/codership-t

Re: Is it possible to add a property to a message prior to rollback?

2014-09-11 Thread Marc Boorshtein
rc/test/java/org/apache/activemq/MessageListenerRedeliveryTest.java#L317 > > an exception thrown from on message will force a rollback. There is an > internal try catch around the up call to onMessage that traps and > stores the exception. > > On 10 September 2014 16:38, Marc Boo

Re: Is it possible to add a property to a message prior to rollback?

2014-09-10 Thread Marc Boorshtein
he > cause property. > > On 10 September 2014 11:41, Marc Boorshtein wrote: > > I'm trying to add a stacktrace to a message if its been rolled back as a > > property. Is this possible? > > > > Thanks > > Marc > > > > -- > http://redhat.com > http://blog.garytully.com >

Is it possible to add a property to a message prior to rollback?

2014-09-10 Thread Marc Boorshtein
I'm trying to add a stacktrace to a message if its been rolled back as a property. Is this possible? Thanks Marc

Re: Can I use JMX on an embedded broker without TCP/IP?

2014-09-09 Thread Marc Boorshtein
able the Management Bean, but not > > enable the TCP/IP port. > > > > > > > http://docs.oracle.com/javase/7/docs/api/java/lang/management/ManagementFactory.html > > > > -Matt > > > > On Sep 4, 2014, at 3:50 PM, Marc Boorshtein > wrote: > > &

Can I use JMX on an embedded broker without TCP/IP?

2014-09-04 Thread Marc Boorshtein
I have a system that uses activemq 5.8 as an embedded message queue (using KahaDB). I'd like to expose some basic management functions via JMX but I don't want to open a tcp/ip port. Can I craft a JMX URL similar to how I create a connection factory (ActiveMQConnectionFactory cf = new ActiveMQCon

Confirm usage of embedded ActiveMQ?

2013-10-04 Thread Marc Boorshtein
All, I'm looking to embed ActiveMQ 5.8 in my Java based server and I wanted to confirm my thinking to make sure I was taking the right approach. My desire is to have a VM accessible queue (not accessible via a network) that is using a relational database (SQL Server 2012 in this instance). The s