Closed gnaveen33 closed 2 months ago
@gnaveen33 you can customize the endpoint URL of an acceptor by using broker properties, i.e.
apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
name: broker
spec:
acceptors:
- name: my-acceptor
port: 61626
brokerProperties:
- 'acceptorConfigurations.my-acceptor.params.host=my-host'
Why do you need to customize the endpoint URL of an acceptor?
Hi @brusdev ,
While using temporary queues for request response pattern, the observed behaviour is that the consumers are deriving their broker endpoint from the acceptor host. Since the acceptor hosts would not be externally exposed the connections are failing. Do you have any alternative solutions for this?
Changing the endpoint to nginx endpoint with above suggestion did not work, startup of the broker failed with the below error:
2024-06-07 03:31:04,090 ERROR [org.apache.activemq.artemis.core.server] AMQ224000: Failure in initialisation
java.lang.IllegalStateException: AMQ229230: Failed to bind acceptor sslacceptor to
@gnaveen33 if you are using Apache ActiveMQ Artemis CORE client you need to disable topology for load balancing, addinng the following option to the consumer connection url: useTopologyForLoadBalancing=false
Hi Team,
How to change the default endpoint URL of acceptor to Ingress endpoint URL through Operator?
Regards, Naveen