Red Hat AMQ 6
As of February 2025, Red Hat is no longer supporting Red Hat AMQ 6. If you are using AMQ 6, please upgrade: Migrating to AMQ 7.Ce contenu n'est pas disponible dans la langue sélectionnée.
2.2. Understanding the Red Hat JBoss A-MQ Configuration Model
Abstract
Overview Copier lienLien copié sur presse-papiers!
Figure 2.1. Red Hat JBoss A-MQ Configuration System
Configuration templates Copier lienLien copié sur presse-papiers!
- configuration templates use property placeholders for settings that will be controlled via the OSGi Admin service
- configuration templates do not configure the broker's name
- configuration templates do not configure the location of the data directory
- configuration templates do not configure transport connectors
- configuration templates do not configure network connectors
- configuration templates do not control if a broker is a master or a slave node
- configuration templates can be used as a baseline for multiple brokers on the same machine
${propName}
and are resolved by matching properties in the broker's PID. In order to use property placeholder the configuration template must include the bean definition shown in Example 2.1, “Adding Property Placeholder Support to Red Hat JBoss A-MQ Configuration”.
Example 2.1. Adding Property Placeholder Support to Red Hat JBoss A-MQ Configuration
Example 2.2. Configuration with Property Placeholders
OSGi PIDs Copier lienLien copié sur presse-papiers!
io.fabric8.mq.fabric.server
.
etc/
folder and use the .cfg
extension and are updated using the config shell. For broker's in a fabric the files are stored in the Fabric Ensemble and are edited using the fabric shell's profile management commands.