How can I host multiple adaptors in a single XML file?
In general it is best to avoid this and have a single XML config file per adaptor using the PropertyPlaceholderConfigurer to pass in values as defined in variables setting section above. You define multiple Adaptor beans, each with a different bean id in your XML config file. Then you pass in the bean id you want to use as a -adaptor argument to the SpringApplication command line.