Thursday, August 24, 2023

MuleSoft - MCPA Certification Guidance

 MCPA Level-1

Audience
Senior solution and enterprise architects who have experience with common integration approaches (like SOA) and integration technologies/platforms, and have basic knowledge and experience with the components of Anypoint Platform

Prior architecture knowledge and experience:
  •     A clear understanding of the concepts and steps involved in developing software for the JVM (usually from developing in some JVM-based programming language)
  •     Recent experience as an architect for a cloud platform software development initiative using any technology stack
  •     A full understanding of the fundamental ingredients of enterprise integration including interface definitions and contracts; data encoding using XML or JSON; REST APIs or SOAP web services; SQL or NoSQL database access; message-passing using JMS, AMQP or similar; network protocols like TCP/IP, HTTP and HTTPS; single-resource transactions
  •     Familiarity with the purpose of common components of enterprise and cloud technology architectures including identity providers, load-balancers, and name servers
  •     Familiarity with basic security concepts including certificates and encryption at rest and in transit

Complete MuleSoft Instructor-led Training (Paid Course)- 
https://training.mulesoft.com/course/architecture-application-networks

You will get two free attempts for MCPA certification exam.
Else, you can purchase it with $400

Once you are comfortable then schedule the exam...
Many meetups are happening around the world (Virtual / In-Person). You can participate in these connects and there is a quiz at the end, where you have the chance to win a Certification Voucher.

MuleSoft Community link :- https://meetups.mulesoft.com/events/#/list


MuleSoft - MCIA Certification Guidance

MCIA - Level-1

 Audience:
Solution and technical architects or lead/senior developers that are focused on designing enterprise integration solutions and have prior experience developing and deploying non-trivial Mule applications

Additional development and architecture knowledge and experience including:
  • Proficiency in any JVM-based programming language with ability to read procedural, object-oriented, and (ideally) functional code
  • Familiarity with threads, thread pools, locks, server/client sockets, JDBC data sources, and connection pools on the JVM
  • Proficiency with current software development tools like Git/GitHub, Maven, Jenkins, or similar
  • Experience as an architect or lead/senior developer on at least one integration project using any technology stack
  • A full understanding of the fundamental ingredients of enterprise integration including interface definitions and contracts; data encoding using XML or JSON; REST APIs or SOAP web services; SQL or NoSQL database access; message-passing using JMS, AMQP or similar; network protocols like TCP/IP, HTTP and HTTPS; single-resource transactions
  • Familiarity with basic security concepts including certificates and encryption at rest and in transit
Complete MuleSoft Instructor-led Training (Paid Course)- 


You will get two free attempts for MCIA certification exam.
Else, you can purchase it with $400


Once you are comfortable then schedule the exam...

Many meetups are happening around the world (Virtual / In-Person). You can participate in these connects and there is a quiz at the end, where you have the chance to win a Certification Voucher.


MuleSoft - MCD Level -2 Certification Guidance

MCD Level-2


Prerequisites

To purchase and attempt this exam, you must have a valid MuleSoft Certified Developer (MCD) — Level 1 certification. If you don't have MCD Level-1, then first complete Level-1 and then go for Level-2.

MuleSoft Instructor-led Training (Paid Course)- Two free attempts for this exam are granted after completing both courses. You need to complete both of the following courses, to be eligible for the exam without any cost. Else, you can purchase it $400

 1. Anypoint Platform Development: Production-Ready Development Practices (3-Day class)
 https://training.mulesoft.com/course/production-ready-development-practices-mule4

 2. Anypoint Platform Development: Production-Ready Integrations (4-Day class)
 https://training.mulesoft.com/course/production-ready-integrations-mule4

Udemy Course for Level-2
MuleSoft Certified Developer — Level 2
https://www.udemy.com/course/mule4-mcd-level2/

MuleSoft Certified Developer — Level 2 Practice Exam (FREE)
https://training.mulesoft.com/certification/developer-mule4-level2/practice-exam

Once you are comfortable then schedule the exam...


Many meetups are happening around the world (Virtual / In-Person). You can participate in these connects and there is a quiz at the end, where you have the chance to win a Certification Voucher.




All the best :-)

Tuesday, August 22, 2023

Java Code Invocation in MuleSoft

MuleSoft provides Java Module, which contains various operations to invoke methods from Java Classes

I will explain all available operations..

  • How to invoke Static or Non-Static methods from a custom Java Class 
  • How to instantiate a class using New operation. 
  • How to validate type of a class instance using Validate Type operation

Major Use Cases:
  • For suppose, if you have large number of java classes in a legacy system or If you have a Java Developers team working in parallel to implement business logic, then you can leverage those logic into MuleSoft by using Java Module.
  • If you have some specific business case which can’t be implemented by using existing MuleSoft connectors or modules, then you can implement it in java and then invoke it by using Java Module
Java Module Operations

  1. Invoke Static - It is used to invoke static methods from a Java Class.
  2. New - It is used to create instance of a class, which can be subsequently used to invoke non-static methods of the class.
  3. Invoke - It is used to invoke methods of a class based on class instance. 'New' operation must be used first to generate the instance and then 'Invoke' can be used.
  4. Validate Type - Which can be used to validate the type of an instance. It validates that provided instance and class in the configuration match or not.  
        If they don’t match it throws JAVA:WRONG_INSTANCE_CLASS error type.

Sample Java Code:
package com.java.mule;

public class HelloJava {

public static String Welcome() {
return "Welcome to Mule Java World ..:-) ";
}
public static String addTwoStrings(String fname, String lname) {
String fullName = fname +" "+ lname;
return fullName;
}
public static int addTwoNumbers(int numA, int numB) {
int sum = numA + numB;
return sum;
}
}

Mule flow


Source code location: Github

Thanks for reading..

Monday, August 21, 2023

MuleSoft Maven Plugin?

What is Maven?
Maven is a project management tool that provides developers a complete build lifecycle framework. Development team can automate the project’s build infrastructure in almost no time as Maven uses a standard directory layout and a default build lifecycle.

MuleSoft Maven Plugin helps 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.

Maven plugin supports three goals:

    Package: Generates jar or executable files for your Mule application.
            mvn package
    Deploy: It's used to automatically uploads, deploys and starts the application on the target system 
                (on-premise, CloudHub, Anypoint Runtime Fabric).
            mvn deploy -DmuleDeploy
    Undeploy: It automatically removes the application from the target system 
                (on-premise, CloudHub, Anypoint Runtime Fabric).
            mvn mule:undeploy

You can find Mule Maven Plugin in POM.xml by default whenever you create a Mule application, otherwise, you can define the plugin in POM.xml as shown below:

<plugin>
<groupId>org.mule.tools.maven</groupId>
<artifactId>mule-maven-plugin</artifactId>
<version>3.3.4</version>
</plugin>

Tuesday, August 15, 2023

ForEach Vs Parallel ForEach | Flows

 ForEach:

  • It processes message sequentially
  • It stops execution, when error occured
  • And, it doesn't modify actual payload


Parallel ForEach

  • It processes the messages in parallel
  • It execute all routes before raising error of type MULE:COMPOSITE_ROUTING
  • The output is a collection of the output messages from each route

Source Code:

Source: https://docs.mulesoft.com/

Sunday, August 6, 2023

MCD Level -1 Certification Guidance

 MuleSoft is offering a free, self-paced course as the foundation to your exam preparation. It is an excellent course for self-paced learners and will prepare you for the exam.

  • MuleSoft Certified Developer – Level 1 (Mule 4) exam is a closed book exam that will have 60 multiple-choice questions.
  • Duration of 120 minutes.
  • To pass the exam, there is a minimum passing score of 70%.
  • The exam will cost you around $250 (USD). And, the exam can be given in the English language.
  • (But, if you have completed two mandatory trainings as mentioned below and practice exam successfully, then you will be getting eligibility to write the exam without any cost. Exam link will be added upon your trainings got completed.)
  • However, the exam has a validity of 2 years and in order to extend the validity you can take the MuleSoft Certified Developer – Level 1 (Mule 4) Maintenance exam. You will be receiving mail and Maintenance Exam link will be added in your training portal before 6 months of your certificate expired.
  • If you failed the exam in first attempt, you will get one more free attempt but you have to wait 24 hours to attempt the exam.

  1. Anypoint Platform Development: Fundamentals
  2. Getting Started with Anypoint Platform
Step by step login procedure:

Step1:
Login https://training.mulesoft.com  with your personal id or business id


Step2:

Click on Courses, then select Self-Paced
Then finish

Training 1: Getting Started with Anypoint Platform
Training 2: Anypoint Platform Development: Fundamentals 


Step 3:

Once these two trainings are completed, then you are eligible to attempt the online certification exam.

 Step 4: Exam Enrollment


Training 1: Getting Started with Anypoint Platform

Training 2: Anypoint Platform Development: Fundamentals



Reference links:

http://y2u.be/b0aqA0rHKAs

http://y2u.be/sj7PM6UjJ6M

http://y2u.be/2QKSWEp_a1I


Thanks for reading...