Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amq 7 broker does not have any addresses or topics configured #32

Open
jirkadanek opened this issue Aug 20, 2019 · 4 comments
Open

amq 7 broker does not have any addresses or topics configured #32

jirkadanek opened this issue Aug 20, 2019 · 4 comments

Comments

@jirkadanek
Copy link
Contributor

jirkadanek commented Aug 20, 2019

In amq broker documentation it is said (somewhere), that using the autocreate feature in production deployments is an antipattern.

All queues and topics used should be created in broker.xml configuration, which means that in the openshift broker deployment template, the alert topic needs to be created.

@redhatHameed
Copy link
Collaborator

redhatHameed commented Aug 29, 2019

@jdanekrh if I understand correctly you mean mentioned the names here - https://github.com/jboss-container-images/jboss-amq-7-broker-openshift-image/blob/16108bf61f8d5403e11e412843259797410e99be/templates/amq-broker-74-basic.yaml#L191-L195
but this is only applicable for Address and Queues names.

@jirkadanek
Copy link
Contributor Author

jirkadanek commented Aug 30, 2019

Yes, that's what I meant. @rvais how do I declare a topic in the broker config? There is AMQ_QUEUES, but not AMQ_TOPIC there!

@rvais
Copy link

rvais commented Aug 30, 2019

There is no "TOPIC" thing per se. You set the queue as multicast type queue. I am not sure the templates support it at the moment.

@rvais
Copy link

rvais commented Sep 2, 2019

So I take my previous comment back ... AMQ_QUEUE creates ANYCAST and AMQ_ADDRESS creates MULTICAST address ... However there is currently a bug which makes it so the address doesn't have assigned the routing type. https://issues.jboss.org/browse/ENTMQBR-2413

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants