Invoke Custom Java Class In Mule


In this tutorial we will demonstrate how can we Invoke Custom Java Class In Mule

Create a project in anypoint studio

Create Java Class in under src/main/java in anypoint studio

Invoke Custom Java Class In Mule


Set the input parameter as variable


Drag and drop the invoke static connector to call java class and configure the Java Class name as packagename.classname ,methodname and provide the arguments as shown below

Invoke Custom Java Class In Mule


Deploy the project and test

Thank you for taking out time to read the above post. Hope you found it useful. In case of any questions, feel free to comment below. Also, if you are keen on knowing about a specific topic, happy to explore your recommendations as well.
For any latest updates or posts on our website, you can follow us on LinkedIn. Look forward to connecting with you there.

Share this:
Notify of
Newest Most Voted
Inline Feedbacks
View all comments
3 years ago

Very helpful and easy to understand the concepts. Thank you so much. Appreciated!!!

2 years ago

Fantasitc website for learning MuleEsb, thanks a lot!!!

Seemant Jain
Seemant Jain
6 months ago

Nice website for learning MuleSoft