openshift-rabbitmq-cluster icon indicating copy to clipboard operation
openshift-rabbitmq-cluster copied to clipboard

how do i expose rabbitmq to external access?

Open sahina opened this issue 6 years ago • 2 comments

This template creates two services:

  • rabbitmq-cluster (5672/TCP (amqp) 5672)
  • rabbitmq-cluster-balancer (15672/TCP (http) 15672 and 5672/TCP (amqp) 5672)

How do i expose the 5672 to external traffic? I created routes to either services but client's can't. Any suggestions?

Thanks

sahina avatar Jan 20 '19 00:01 sahina

Only solution that I'm aware of is using NodePort.

The reason why clients can't connect is because routes only support below protocols

  • HTTP
  • HTTPS (with SNI)
  • WebSockets
  • TLS with SNI

Source

Cheers, Max

maximindsl avatar Feb 21 '19 17:02 maximindsl

You could also use the WebStomp plugin to expose a WebStomp access point using an OpenShift HTTPS route. Note that this isn't AMQP. It's a Websocket protocol.

Carl4 avatar Jul 02 '19 13:07 Carl4