0
votes

I'd like to host apps that uses queue to communicate with each other on OpenShift. One kind of apps - producers will put some data to the queue and another type - consumer will process the message. My question is how to implement message queue. I've thought about two approaches:

  1. Create an app with JBoss, HornetQ and consumer and create proxy port for HornetQ, so that producers can send messages there.
  2. Create an app with JBoss and consumer, and make a JBoss's HornetQ available to producers. It sounds a bit better for me, but I don't know if I can make queue available to producers and how it works if there are more instances of consumer on different nodes (and different JBoss instances).
1

1 Answers

1
votes

I'm not sure how else to answer you besides showing you a link on how to use Wildfly. You can just use the Wildfly Cartridge:

https://www.openshift.com/quickstarts/wildfly-8

If you provide me some extra context I can try to enrich the answer a bit better. I need to know what is your problem, and what's not working.

If you just want to know how to configure Wildfly with HornetQ, the Wildfly cartridge I posted is the way to go.