Mule Meets Zuul: A Centralized Properties Management – Part II, Client side


Before reading on, please take a look at Part 1 of this post.

Connecting Mule application to Zuul server requires two additional jars in the application class path. One of them is jasypt library which can be downloaded here. The second one is zuul-spring-client. You can download the source and build the jar using Maven.

To configure Zuul client, first add zuul namespace to the mule tag.

Mule Meets Zuul: A Centralized Properties Management – Part I, Server side


It is always recommended to use Spring properties with Mule, to externalize any configuration parameters (URLs, ports, user names, passwords, etc.). For example, the Acme API from my previous post connects to an external database. So instead of hard-coding connectivity options inside my application code, I would create a properties file, e.g., as follows:

Obviously, as a developer, I would use a test instance of Acme database to test my application.