Haha, option C is just adding an unnecessary layer of complexity. Who wants to refactor all their APIs just to share a database connection? That's like trying to swim upstream with a bowling ball.
B) Build a separate Mule domain project for each API, and configure each of them to use a file on a shared file store to load the configuration information dynamically
Option D with API proxies could also work, but it might be overkill for a simple database configuration scenario. A domain project is probably the simplest MuleSoft-recommended approach.
Option D with API proxies could also work, but it might be overkill for a simple database configuration scenario. A domain project is probably the simplest MuleSoft-recommended approach.
B) Build a separate Mule domain project for each API, and configure each of them to use a file on a shared file store to load the configuration information dynamically
I agree with Celestina. Option A is the cleanest and most efficient solution. Reusing the same database configuration across multiple APIs is a great way to promote consistency.
Option A seems like the most straightforward way to share configuration across APIs. Building a domain project is a best practice recommended by MuleSoft.
Stefania
1 months agoGiuseppe
1 days agoJess
2 days agoCraig
5 days agoDarci
1 months agoFiliberto
1 months agoLeonida
2 months agoAntione
2 months agoRebecka
17 days agoBarb
28 days agoJoesph
1 months agoHyun
2 months agoCelestina
2 months agoMiles
1 months agoMarsha
1 months agoDerrick
2 months ago