Thursday 2 November 2017

Mule ESB content routing example running on Mule Runtime in no time

Mule ESB content routing example running on Mule Runtime in no time


This is a quick overview on running a Mule app - the content routing example -  on the MuleSoft Mule ESB Runtime locally on an Ubuntu Linux machine.

I really wanted to see how difficult it was to get the runtime going and had little in the way of challenges. I would need to do some more tutorials on the backend flows and other more advanced examples before I put up another demo but wanted to see how much effort it took to get going.

Running Anypoint Studio and the Mule Runtime

On Ubuntu, the studio runs pretty good, Eclipse appears to be the base and the UI is as rich as expected.

I quickly crafted together the content routing, and getting it to run is also easy.



Downloading Mule Runtime 3.8 was easy, and I extracted and ran it locally without any additional configuration:
./mule

I couldn't find the built archive initially, but tracked it down from the logs. Once Mule started up, I went and copied the content routing archive to the /apps folder, and it exploded successfully:

[Mule.app.deployer.monitor.1.thread.1] org.mule.module.launcher.application.DefaultMuleApplication:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ New app 'mule-contentrouting'                            +
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

In my browser I browsed  to http://127.0.1.1/?language=French and got the demo response.

I'll run through some more tuts and post awesome bits here, as I am keen to see how tough integration challenges I've seen can be simplified with this tooling

Cheers
Quintes



Connect with me on LinkedIn or Twitter