Hello,
Currently there is no way to use layers to provision an embedded broker and I've been
thinking about to provide such a layer.
The embedded broker configuration is done using the "messaging-activemq" feature
group [1]. This feature group configure the embedded broker
itself, the ee default connection factory and the mdb part in the ejb3 subsystem.
Introducing an embedded broker layer requires several changes in the current layers:
- it should not be the responsibility of the embedded broker layer to configure mbd in
the ejb3 subsystem, thus i propose to introduce a
new ejb-mdb layer that would depend on the ejb layer [2] and have an optional dependency
on the embedded-broker layer.
- the embedded-broker layer would depend on the current messaging-activemq layer [3] and
configure the ee default connection factory and
broker according to wht is already defined in the "messaging-activemq" feature
group [1].
What do you think about this plan ?
Cheers,
Emmanuel
[1]:
https://github.com/wildfly/wildfly/blob/main/ee-feature-pack/galleon-comm...
[2]:
https://github.com/wildfly/wildfly/tree/main/ee-feature-pack/galleon-comm...
[3]:
https://github.com/wildfly/wildfly/tree/main/ee-feature-pack/galleon-comm...