Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I host multiple adaptors in a single XML file?

adaptors file host XML
0
Posted

How can I host multiple adaptors in a single XML file?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123