Streaming messages to AMQ in the cloud

The last thing we will do is deploy the Quarkus application to the cloud while using AMQ as a messaging broker. For this purpose, we will plug the ActiveMQ Docker image that we tested previously into OpenShift (more details about this image can be found on GitHub at

First of all, create a new project named amq-demo:

oc new-project amq-demo

The output will confirm that the project namespace has been created in your virtual address:

Now using project "amq-demo" on server ""

Next, deploy the AMQ server to your project with the following command, which will set the username and password so that you can access ...

Get Hands-On Cloud-Native Applications with Java and Quarkus now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.