0

I would like to start ActiveMQ when my Unix server gets started.

I am using the following the config

Broker URI : tcp://localhost:61616

Above ActiveMQ server will get started when I run ActiveMQ start command from UNIX terminal but I want to start it when my server gets started so the user can directly go and access the application.

As of now, we have to manual start ActiveMQ from the directory

Application details: Java spring based web application ActiveMQ version : 5.14.5

Server: Tomcat

DB: Internal Kahab DB

Everything is working fine but we cant tell every user to start ActiveMQ manually.

Please forgive me if I am missing any Architectural base things.

1 Answers1

0

Add a BrokerService bean to your application.

See this answer.

Gary Russell
  • 166,535
  • 14
  • 146
  • 179