We do not support different versions of BlackTie software in the same domain so we need to update the code to support enforcing this constraint.
During compilation we need to embed the version of the software (from the pom.xml) - e..g 2.0 MR1 into the atmibroker-xatmi.dll/so
The Environment.xml should also have a mandatory configuration option indicating the software version that is supported by the domain:
When the server starts up and calls the StompAdministrationService to register a required queue, it must also provide the software version (encoding in its dll/so), if this does not match the version in the administration service Environment.xml which is deployed in Jboss then the queue creation should fail.
To embed the version from the pom.xml into the atmibroker-xatmi dll I think we will need to alter the build slightly to generate a Version.cxx file with a single line "char * version = <REPLACE_ME>" where the value of -Dpom.version is put as <REPLACE_ME>, then in AtmiBrokerServer.cxx we can define an "extern char* version"
We should also add an additional operation to the JMX administration API to get the version number from the server as in the future we may allow a range of <SOFTWARE_VERSION> in the environment.xml
This operation should be called getSoftwareVersion and should be accessed from the "control" tab of the domain node (e.g. fooapp)