Before discussing how to make HornetQ
run as a service or the JBoss AS integration, we first need to understand how to configure the HornetQ standalone server. As we mentioned in Chapter 1, Getting Started with HornetQ, the HornetQ configuration files are stored in the HornetQ_ROOT\config
folder. But if you take a look at the folder, you should see that it contains the following subfolders:
Jboss-as-5
Jboss-as-4
Stand-alone
And inside every one of these folders are two more subfolders named:
Clustered
Non-clustered
The folder structure mimics the possible configurations of HornetQ according to the type of installation and according to the fact that HornetQ runs in a clustered mode, which means that the workload can be shared between different nodes. The whole of Chapter 6, Advanced Programming Features of HornetQ will be devoted to understanding such concepts, so for the moment we will focus on the folder under HORNETQ_ROOT\config\standalone\non-clustered
, where we...