Mule ESB can be deployed to Application Server

Can I install Mule on any application server. If so, how do we use Mule examples.

I configured my eclipse to run JBoss and Mule threads that are not deployed to the JBOss server. Synchronization gives an error (null pointer).

But when I start the Mule application, it works fine, but it starts the Mule Server.

How is Mule deployed in production? Do we need a Mule server that works with an application server?

Is it possible to pack the entire application in one (ESB + application) and deploy it to the application server.

+6
source share
2 answers

You have a choice regarding Mule production deployments:

  • Using Mule autonomously as your first choice, as it comes with all modules / vehicles, is a production class (control scripts ...) and supports hot application reloads.
  • If your deployment environment forces you to deploy to application servers (such as JBoss), package your Mule application as a web application (WAR).

If you decide to pack your Mule application as a WAR, I highly recommend that you use Maven for this, as each Mule module / transport requires many dependencies. Working with it manually would be insane.

Also, do not forget to use the servlet's incoming endpoints instead of the HTTP endpoints included, otherwise Mule will open another HTTP server inside the web container. You want Mule to use the servlet container for incoming HTTP requests.

+4
source

Source: https://habr.com/ru/post/915258/


All Articles