You should be able to parameterize individual hosts using <system-properties>.
The default domain.xml currently has the section for messaging configuration, but the host.xml has none.
In order to do it, we will need to remove this section from domain.xml and put it to host-master.xml and host-slave.xml? Is that true?
What is the relationship between domain.xml and host.xml? What configuration is better put in domain.xml vs host.xml?
I can't answer your questions authoritatively as I've not worked with domains in quite a while. I just remember that some users solved the problem you're having by using system-properties.