Reading Time: 2 minutes

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. You will also need spring and context namespaces.

Could not embed GitHub Gist 9400813: API rate limit exceeded for 34.66.93.163. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

Next, configure zuul spring bean and spring context referencing this bean:

Could not embed GitHub Gist 9400871: API rate limit exceeded for 34.66.93.163. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

Note that the value of the config attribute – config="AcmeProperties" – is the name of the properties set that we created on the Zuul server.

Finally, edit the MULE_HOME/conf/wrapper.conf file on each environment and set the variables for environment name and the password used for encryption:

Could not embed GitHub Gist 9400934: API rate limit exceeded for 34.66.93.163. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)
upcoming event
Imagine, integrate, and innovate at the #1 integration event