Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mule ESB can be deployed in Application Server

Tags:

esb

mule

Can I deploy Mule on any of the application server. If so how do we deploy the Mule examples.

I have configured my eclipse to run JBoss and Mule Flows dont get deployed in the JBOss server. The syncronisation gives error(null pointer).

But when I run as Mule Application it runs fine but starts Mule Server.

How does Mule deployed in the production? Do we need Mule server in production working along with the application Server?

Can we package all the application in one(ESB + application) and deploy it in the application server.

like image 438
R-JANA Avatar asked May 09 '12 06:05

R-JANA


People also ask

Where do I deploy MuleSoft application?

You can deploy Mule applications to CloudHub using: Anypoint Runtime Manager. Anypoint Studio. CloudHub CLI.

What is Mule application server?

Mule, the runtime engine of Anypoint Platform, is a lightweight Java-based enterprise service bus (ESB) and integration platform that allows developers to connect applications together quickly and easily, enabling them to exchange data.

What is the tool used to deploy a Mule application as a Web service?

Mule Maven Plugin allows you to deploy and undeploy a MuleSoft application. It is compatible with the Enterprise Mule Runtime engine and Community Mule Kernel. Mule Maven Plugin is capable of deploying applications automatically to on-premise, CloudHub, and Anypoint Runtime Fabric Manager.


2 Answers

You have the choice regarding production deployments of Mule:

  • Use Mule standalone as your first choice, as it comes packed with all modules/transport, is production grade (control scripts...) and supports hot application reloads.
  • If your deployment environment forces you to deploy on application servers (like JBoss), package your Mule application as a web application (WAR).

If you decide to package your Mule application as a WAR, I strongly suggest you use Maven to do so, as they each Mule module/transport require numerous dependencies. Dealing with this by hand would be insane.

Also be sure to use Servlet inbound endpoints instead of HTTP inbound endpoints otherwise Mule will open another HTTP server inside the web container. You want Mule to use the servlet container for its inbound HTTP requests.

like image 152
David Dossot Avatar answered Oct 06 '22 01:10

David Dossot


Yes you can. You might want to take a look to the Embedding Mule in a Java Application or Webapp manual page, and the Deploying Mule as a Service to Tomcat.

like image 34
Víctor Romero Avatar answered Oct 06 '22 01:10

Víctor Romero