Table of Contents
MuleSoft Interview Questions
1. What is MuleSoft
platform that helps to connect devices, applications, and data. Integrating data to deliver a
single view of the customer, automating business processes, and building connected
experiences are done through Mule soft. Mule soft’s platform, which is called Any point
Platform, comprises a number of tools for developing, managing, and testing application
programming interfaces (APIs), which support such connections. MuleSoft’s Any point
Platform is the world’s leading integration platform for Service-oriented architecture (SOA)
and Software as a Service (SaaS) as well.
2. What are the different tools and services offered by Mule soft?
Mule Soft helps in the task of data integration diligently and efficiently. The tools and
services offered by Mule Soft include:
API Designer: API Designer is a web-based tool that contains a console and a scripting
notebook for JavaScript.
API Manager: API Manager is a management tool that allows organizations in managing
users, traffic, and service level agreements.
Any point Studio: Any point Studio is a graphical design environment to build and edit APIs and integrations.
API Portal: This is a portal that offers developers different kinds of documents, tutorials,
and code snippets related to APIs.
API Analytics: API Analytics is an analytics tool that allows a user to track the specifications of an API. This also includes its performance, usage, and reliability. Additionally, it offers a dashboard and charts.
3. What is Mule?
Mule is an open-source enterprise integration platform that helps tackle the problems in
developing integration applications. Some of the problems that are tackled by Mule include
Error handling, Monitoring, Lifecycle and management, Data format, etc. Thus, with these
problems gone, Mule helps focus on the application’s core requirements like scalability and
efficiency.
4. What is Mule ESB?
Mule ESB stands for Mule Enterprise Service Bus. Mule ESB makes it easy for the development teams to flexibly connect, access, and exchange data easily. This means that even though the application is running into different VMs, the interactions between them are easy.
Following are some of the features of Mule ESB:
Message Transformation Service
Set of Service Container
Web Service Security
Message Routing Service
Simple drag-and-drop graphical design
Centralized monitoring and administration
5.What are Batch Jobs in Mule ESB?
In Mule ESB, a batch job is an element in a mule that splits large messages into records. These records are then processed asynchronously in a batch job.
Within an application, one can initiate a Batch Job scope, which splits messages into individual records, performs actions upon each record, and then reports on the results and potentially pushes the processed output to other systems or queues. With this, we can handle large quantities of incoming data from an API into a legacy system. We can also synchronize data sets between business applications.
6.What are the different types of variables in MuleSoft?
The different types of variables in MuleSoft are as follows:
Flow Variable: This is used to either set or remove variables that are tied to a particular
message in the current flow. Syntax: #[flowVars.Code]
Record Variable: This is used for the batch processing flows. Unlike any other variable, these are special variable sets that are used only inside a Batch Job.
Syntax: #[recordVars.Code]
Session Variable: This is used to either set or remove variables tied to a particular message for the entire lifecycle. Syntax: #[sessionVars.Code]
7.What are the different types of messages in MuleSoft?
Echo and Log message – These are used to log messages and move them from inbound to outbound routers. Inbound Routers means a single event is received via an endpoint and the router controls how and if this event gets routed into the system. Outbound routers mean once a message has been processed by a component an outbound router can be used to determine which components get the result event.
Bridge Message – This is a passed message from inbound to outbound routers.
Build Message – These are messages created from fixed or dynamic values.
8.What are the different Primitives used in Mediation?
Mediation is used for personalizing interactions between distributed applications and service components. The following are the different Primitives used in Mediation:
Message Filter
Type Filter
Endpoint Lookup
Service Invoke
Fan-out
Fan-in
XSLT
BO Map
Message Element Setter
DB lookup
Data Handler
Custom Mediation
Header Setters
Message Logger
Even Emitter
Stop
Fail
Sub Flow
9.What are the Models?
In Mulesoft studio, the grouping of services (application objects and their attributes)
created are called Models. Through this, a user can start and stop the services inside a
given model.
10.What is a shared resource in Mule?
In Mule, shared resources are common resources that are exposed to all applications deployed under the same domain. Sharing resources allows different development teams to work in
parallel.
For instance: Connector configurations could be made a reusable resource. These could be shared among all applications deployed.
These shared resources should be defined in the Mule Domain Project. These should then be referred to each of the projects that are meant to use the elements in it.
11.What are Connectors in Mule?
Connectors in Mule are Mule’s abstraction for sending and receiving data and interacting with various APIs. There are generally 2 forms of connectors in Mule:
Transport: This is the most common form of connector used in Mule. Like HTTP, transports provide an adaptation layer for a protocol. These are the sources and sinks for data – to get data into and out of flows.
Cloud connectors: These are typically used to interact with an API. Usually, cloud connectors don’t give endpoints. Instead, they have message processors that map to the operations
provided in the API. The operations of an API are combined by these cloud connectors. The
effect of this is that the initial friction for a developer is greatly reduced.
12.What is a runtime manager in Mule?
In Mule, a runtime manager is used for deploying and managing Mule applications. This is done on the Mule runtime engine where Mule runtime is running. We can deploy or pause the mule application by using runtime manager. We can also change the runtime version of the
application at a given time. The worker size can be increased or decreased as well.
13.What is Worker in MuleSoft?
In Mulesoft, Worker is a dedicated instance of Mule hosted on AWS that is used to run the integration applications.
Following are some of the features of workers:
Capacity: For the purpose of data processing, every worker has a given amount of capacity.
Isolation: Isolation means that every worker runs in a separate container from every other application.
Manageability: Manageability means that the deployment and management of each worker are done independently.
Locality: In this feature, every worker runs and is located on a specific worker
14.How is Reliability achieved in MuleSoft?
Reliability in Mule means Zero message loss. To make this happen, applications must be
designed in a way to capture the state of a running process/instance, which can be picked up by another running node in the cluster. Reliable messaging is given by built-in support of
transactions in transport, if the application uses a transactional transport such as Java
Message Service (JMS), Virtual Machine (VM), Database (DB), etc. A reliable messaging
pattern is essential when dealing with non-transactional endpoints.
15.What is Mule Runtime?
A runtime engine that is used to host and run Mule applications, is called a Mule runtime. This is similar to an application server. Mule runtimes can be provisioned either on the premises or also on the cloud. A single Mule runtime can host several Mule applications. Here is the figure representing Mule runtime.
16.How can we improve the performance of the Mule Application in MuleSoft?
The following are some ways to improve the performance of the Mule Application in MuleSoft:
Put the data validation at the start of the flow.
Use Streaming to process data.
Save the results of the application and reuse them later.
Process data asynchronously wherever is possible.
17.How can Code in MuleSoft be optimized for memory efficiency?
The code in MuleSoft be optimized for memory efficiency in the following ways:
One should not save the payload into the flow variable. This is because it is a more memory consuming element.
The unnecessary part of the document should not be loaded while processing.
For highly concurrent scenarios, one should use better database polling.
Use Dataweave for transformations.
18.What are Flow Processing Strategies and what are the different types of it?
How Mule implements message processing for a given flow is determined by a Flow Processing Strategy. All Mule flows have an implicit processing strategy which Mule applies automatically:either synchronous or queued-asynchronous. Each of these processing strategies is optimal for certain flows.
The different types of Flow Processing Strategies are:
Synchronous Flow Processing Strategy.
Asynchronous Flow Processing Strategy.
Queued Flow Processing Strategy.
Queued Asynchronous Flow Processing Strategy.
Custom Processing Strategy.
Thread Per Processing Strategy.
Non-blocking Flow Processing Strategy.
19.What is Subflow in mule?
Using the flow-reference element of Mule, we can call a subflow. When the sublow is called using a flow-reference element by the main flow, the entire message structure (attachments,payload, properties, etc.) is passed along with the context (transactions, session, etc.) Similarly,
the entire message along with the context is returned to the main calling flow after the
processing of the message is done in the subflow.
Following are some features of Subflow:
Subflows are very useful when you want to add re-usable logic, as you can call sub-flows
multiple times.
Referring subflows gives better performance than referring a flow.
Subflows don’t have event sources.
20.What do you mean by Flow in Mule?
‘Flow’ is when we combine together multiple individual processors in order to handle a receipt, its processing and eventual routing of a message. We can connect several flows together to build one whole application. This application can then be deployed on Mule, on-premise, or another app server, or also on the cloud.
Simply put, the sequences of the message processors are called flows. A message entering a flow can pass through a large variety of processors. In the figure shown below, after receiving the message through a request-response inbound endpoint, Mule then transforms the content into a new format. The business logic is then processed in a component before returning a response through the message source.
21. What is sub flow in MuleSoft?
Using the flow-reference element of Mule, we can call a subflow. When the sublow is
called using a flow-reference element by the main flow, the entire message structure
(attachments, payload, properties, etc.) is passed along with the context (transactions,
session, etc.) Similarly, the entire message along with the context is returned to the
main calling flow after the processing of the message is done in the subflow.
Following are some features of Sub flow:
Subflows are very useful when you want to add re-usable logic, as you can call sub-flows
multiple times.
Referring subflows gives better performance than referring a flow.
Subflows don’t have event sources.
22.How are the messages in Mule composed?
There are four different parts of the composed message in Mule. These are as follows:
Payload – This is the main context of data carried by a given message.
Properties- Similar to the SOAP message, this contains meta-information or header
Multiple Name Attachments- This is used to provide support for multi-part messages.
An exceptional payload – to hold errors that occur during the processing of the event.
23.What are the configuration patterns provided by MuleSoft?
Configuration patterns have been designed for ease of use. The four configuration patterns that exist today make things that people do all the time simple, understandable, and fast to create.
Mulesoft provides the following configuration patterns:
Bridge
Validator
WS proxy
Simple service pattern
HTTP proxy
24.What is the use of Filter in Mule?
To make smart decisions on the request and response environment or message delivery, filters are used. These are the most powerful capabilities given to the routers.
In order to decide what to do with the messages in the transit stage, filters give sight to the router. Some filters go through a thorough analysis of the given message to obtain the actual value of the desired output.
The expression ‘filter’ returns either true or false. If the expression returns true for a value or index in the array, the value gets captured in the output array. If it returns false for a value or index in the array, that item gets filtered out of the output. If there are no matches, the output array will be empty.
25.What is the Mule Data Integrator?
Data Integrator is a data visualization mapping tool launched by Mule. It has support for Java objects, flat files, and XML Mapping.
The Mule Data Integrator tool provides drag and drop features to make the coding process easier, as it could be a challenging task for a developer to code complex mapping
functionalities. This process of mapping gets support from eclipse to run the Data Integrator,
which is part of the top layer applications in Mule Architecture. Data integration solves the
problem of moving, transforming, and consolidating information from various parts of the
enterprise. This enables it to undergo cleansing, standardizing, de-duplication, manipulation, and synchronization between sources.
26.What do you mean by SOAP and what are some of the advantages of it?
SOAP stands for Simple Object Access Protocol. It is used to exchange structured information in the implementation of web services in computer networks. The following are the advantages of SOAP:
For a web service to talk with the client applications, SOAP is one of the best mediums that is developed
It is a light-weight protocol. This allows applications to pass messages and data back and forth between disparate systems easily.
It can be used for the interchange of data between various applications.
The SOAP protocol can work with any programming language-based applications on Windows and Linux platforms.
Web services built on the SOAP protocol do not require customization to work on the World Wide Web (WWW).
27.What are the parameters to configure a scheduler?
The Scheduler component in Mule helps us to trigger a flow when a time-based condition is met.
The parameters related to configuring a scheduler are as follows:
Frequency: The Scheduler uses frequency to trigger flows.
Start Delay: This signifies the time to wait before triggering a flow.
Time Unit: This is the time unit for frequency and for Start Delay.
For example in some use cases where you need to do a specific task at a particular period of time or repeatedly at a fixed interval, your integration flow can be scheduled via Scheduler.
28.What do you mean by Correlation Context?
Correlation Context is when the mediation primitive needs to pass the value from the request flow to the response flow. Here, the correlation context plays the role of passing the value.
Conclusion
Connected experiences are at the core of Mule soft applications. Integrating data to deliver a single view of the customer, automating business processes, and building connected experiences are all made easy through Mule soft. Each unified part becomes a building block that is reusable through using this modern approach which is API-led. The results of these are agility and scale.
References and Resources
Mule in Action, Second Edition (O’Reilly) – By John D’Amico, David Dossed, John D’Amico, and Victor Romero
Hands-On Micro services – Monitoring and Testing (Packt Publishing) – By Dinesh Rajput
API Recipes with Mule soft(r) Any point Platform – by Whish works
29.Why is MuleSoft famous?
Mulesoft makes it easy to build connected experiences and unifies data to present a
single view to the customer. Each integration done this way can also become a building
block that is reusable. By using Mulesoft, time for development is saved. Also, the
production environments become easier to use.
30.What is fan-in?
Fan-in helps in taking a decision to continue flow execution. It be used in combination with fan out.
31.What is a fan-out?
Fan out is primitive that can be used to input messages through the output terminal
once or more than one time. It can also be used as a combination of both fan-out
and fan-in.
32.Mention the features of Mule ESB?
The features of Mule ESB are:
Offer SLA (Service Level Agreement) monitoring and API management facility.
It has easy to use and drag and drop graphical design.
Mule ESB provides high scalability.
It enables developers to deploy in one click cloud or on-premise deployments.
33.Mention the basic principles of ESB Integration?
The basic principles of ESB integration are:
Transportation: It negotiates between different formats like JDBC, HTTP, JMS, etc.
Transformation: It deals with the transportation of data between data formats needed by the ESP connector.
Non-functional consistency: It is the way of how monitoring and security policies are applied and should be consistent.
Mediation: It involves offering different interfaces to:
Enables different channels to the same component implementation.
Support various service versions for backward compatibility.
34.What is Mule Expression Language?
MEL or Mule Expression Language is a light-weight mule specific language that can be
used to access and evaluate data in the payload.
35.Mention different types of Exception Handling?
Different types of exception handlings are:
Rollback exception handling.
Default exception handling.
Catch exception handling.
Global exception handling.
Choice exception handling.
36.What are the advantages of using ESB?
The advantages of using ESB are:
It offers a high level of the operational controlling facility from the portal that is based on the web.
ESB provides numerous connectivity options using SaaS-based applications.
It provides API and analytics management.
ESB is equipped with numerous bug fixing and automated testing facilities.
EDI (Electronic Data Interchange)/B2B (business to business) integration.
Batch integration feature using real-time integration methods.
37.What is Mule Transformer?
Mule transformer is an event instance that refers to a library,
org.mule.api.MuleEvent. This object carries the message with the event. The main
aim of the Mule transformer is to create a chain of transformers.
38.What is API?
API is the acronym for Application Programming Interface. It is a software interface that allows two applications to interact with each other without any user intervention.
APIs provides product or service to communicate with other products and services without having to know how they’re implemented.
39.What are the features of API?
Here are some essential features of API:
Efficiency
Wider reach
Customizable
Personalization
Data ownership
Easy integration with GUI
Time effective
Language-independent
40.What is the payload in MuleSoft?
The payload is a mule runtime variable that stores objects or arrays. It helps developers to access payload under different forms.
41.What are the various parts of composing a message in Mule?
Different parts of composing a message in Mule are:
Properties: it contains the header or meta-information or header similar to the SOAP
(Simple Object Access Protocol) message.
Payload: It is the main data context carried by a particular message.
Multiple name attachments: It provides support for multiple messages or payload that
occurs during event processing.
42.Mention flow processing strategies in MuleSoft?
MuleSoft has six types of strategy for flow processing:
A queued asynchronous flow processing
Custom flow processing
Tread per processing
Queued flow processing
Non-blocking flow processing
Synchronous flow processing
Asynchronous flow processing
43.Mention different types of primitives used in Mediation?
Different types of primitives used in Mediation are:
Endpoint lookup
Data handler
Message element setter
DB lookup
Service Invoke
Type filter
Stop
Sub Flow
Custom mediation fan-out
Fan-in
Even emitter
Header setters
Message logger
XSLT
BO MapMessage filter
Fail
44. Name different types of ESPs used in the market?
Different types of ESPs used in the market are:
Mule ESB
JBoss fuse ESB
Talend
45.Define the model layer in mule?
The model layer is the first logical layer. It represents the runtime environment that
hosts services. This layer describes the behaviour of Mule when processing requests
that are handled by services. It offers services with default values to simplify
configuration.
46.Explain connector in MuleSoft?
A connector in Mule controls how a particular protocol used. It can be configured with
parameters which are specific to that protocol. The connector holds any state context which
can be shared with any entity in charge of actual communications.
47.What is Endpoint in Mule?
An endpoint in MuleSoft indicates a particular usage of a protocol. It is for polling,
reading from, or writing to a destination.
Therefore, it controls what underlying entities would be used with a dependent
connector.
48.Define component in Mule?
Components perform an important role in MuleSoft services. Every service is organized with core components and core and inbound and outbound routers.
They are used to implement behavior in service. It can be very simple, like logging messages or invoking other services.
49.What is the use of Outbound Endpoint in MuleSoft?
Outbound Endpoint in MuleSoft is used to perform the following things:
Send SOAP messages
Write to file streams
Send email messages
50.Define configuration builders In MuleSoft?
MuleSoft is a configuration builder to translate a configuration file into the graph of the object that makes the running node of ESB.
51.What Is TSD in Mule?
TSD or transport service descriptor is a connector used for technical configuration. It defines classes name used for message receivers, dispatchers, and requesters. This default value can vary to grasp the behaviour of transport.
52.Define multicasting router in MuleSoft?
Multicasting router in MuleSoft sends messages to more than one endpoints over
different transports. It allows the user to move the same messages across different
endpoints.
53.What are the characteristics of Global Endpoint?
Characteristics of global endpoint are:
The global endpoint is not typified or outbound routing.
It can be usable in different places of configuration files.
The global service name must be applied so that it can reference the endpoint.
It helps to clarify the usage of a particular destination.
54.Explain VM transport in MuleSoft?
The VM (Virtual Machine) transport is a special type of transport that can be used to
send a message via memory. These messages never leave the Java Virtual Machine, and
the Mule instance is running in.
55.What are Web Services?
Web services are a standardized way or medium to propagate communication between
the client and server applications on the World Wide Web.
56.What is Restful Web Service?
Restful Web Service is a light-weight, maintainable, and scalable service that is
built on the REST architecture. Restful Web Service, expose API from your
application in a secure, uniform, stateless manner to the calling client. The calling
client can perform predefined operations using the Restful service.
57.What is RAML?
The full form of RAML is the RESTful API Modeling Language. It is a YAML-based language that
describes RESTful APIs.
RAML is best for the information needed to describe RESTful APIs. It is similar to WSDL (Web Services Description Language).
RAML contains request/response schema, URI parameter, endpoint URL, HTTP methods, and query.
58.What are the configuration patterns provided by MuleSoft?
Configuration patterns provided by of MuleSoft are:
Bridge
Validator
WS proxy
Simple service pattern
HTTP proxy
59.What are the advantages of the logger component?
The advantages of the logger component are:
Users can add this core component anywhere in the workflow.
It can be configured to any combination of strings and expressions.
60. What is scheduler Endpoint?
Scheduler Endpoint is a MuleSoft component or middleware are working on time-based
conditions. It allows the user to trigger whenever this condition is met.
61.What is Choice Router?
Choice Router dynamically routes messages using a flow. It is based on a set of DataWeave expressions to evaluate the message content.
62.What is a Scatter-Gather Router?
Scatter-Gather Router is the most used routing event processor. It can send a request message to more than one target concurrently. This router then collects responses from all routes and aggregate back into one response.
63.What are error types in MuleSoft?
Following are the effort types:
Transformation
Expression
Routing
Duplicate_Message
Source_Response
Timeout
Security
Connectivity
Validation
64.What is Exchange?
Exchange is a hub for the development team. It is used to store and access API,
connectors, templates, documentation, and more.
65.What are the advantages of SOAP?
The advantages of SOAP are:
SOAP is the perfect medium that is developed for web service to talk with client applications.
SOAP is a light-weight protocol which can be used for data interchange between applications.
SOAP protocol can work any programming language based applications on Windows and Linux platforms.
It does not require customization to run the web services built on the SOAP protocol to work on the WWW.
66.Define Batch Jobs in Mule ESB?
A batch job is an element in Mule that split large size messages into records that
process asynchronously in a batch job.
67.Explain the Mule data integrator?
A mule data integrator is a tool that is used for mapping data by visualizing it. It offers drag and drop feature to make a developer’s coding process easier.
68.What is the difference between ESB and JMS?
ESB provides the middleware and interfaces services which allow the business enterprises to connect their applications without writing any code.
JMS provides the communication facility and messaging capability between the modules of an application.
69.Explain the parameters that are used in configuring a scheduler.
The related parameters which are used to configure a scheduler are:
Frequency – These are frequencies used by scheduler for triggering flows.
Start Delay – It is the waiting time that is used before triggering any flow.
Time Unit – The time unit for frequency and start delay.
implementation=”org.mule.components.simple.BridgeComponent”>
className=”org.mule.providers.file.filters.FilenameWildcardFilter”/>a
70.What is Mule Data Integrator?
A mule data integrator is a tool that maps data by visualizing it. It offers a drag and drop feature interface which makes the developers code easily.
71.What are the advantages of SOAP?
A perfect medium for web services to talk with client applications.
Being a lightweight protocol it can be used for data exchange between applications.
The SOAP protocol works on any programming languages based on Windows and Linux
platforms.
Customization is not required to run the web services built on the SOAP protocol for working on WWW.
72.Name the configuration patters provided by the MuleSoft?
The configuration patters of MuleSoft are:
Bridge
Validator
WS proxy
Simple service pattern
HTTP proxy
73.What are the advantages of SOAP?
The Outbound Endpoint performs the following things:
Sending the SOAP messages.
Writing to file streams.
Sending email messages.
74.What the various categories of Mule Processors?
There are six categories in Mule Processors.
Components.
Exception strategies.
Business events.
Routers.
Connectors.
Transformers.
75.What are the advantages of using ESB?
The advantages are:
It provides a high-level control facility from the portal based on the web.
By using SaaS-based applications, ESB provides numerous connectivity options.
ESB provides API and Analytical management.
ESB is equipped with numerous facilities which can fix the bugs and automates testing.
Integration of EDI (Electronic Data Interchange)/B2B (business to business).
Supports batch integration by applying real-time integration methods.
76.Name the flow processing strategies in MuleSoft?
The strategy types in flow processing are:
Non-blocking flow processing
A queued asynchronous flow processing
Asynchronous flow processing
Custom flow processing
Tread per processing
Synchronous flow processing
Queued flow processing
77.Explain about configuration builder in MuleSoft?
The configuration builder in mule helps in transferring the human organized configuration file into complex graph objects that substitute a running node in ESB. There are two types of configuration builder.
Spring Driven Builder – works with XML files.
Script Builder – accepts scripting languages files
78.What is a Scatter-Gather Router?
Scatter-Gather Router is a routing event processor which can send the request messages for more than one target concurrency. The Scatter-Gather Router will then collect responses from all routes and aggregate back into one response.
79.Define Payload in a MuleSoft?
The payload is a runtime variable in MuleSoft which stores arrays or objects. It is wrapped under the “mule.api.MuleMessage” library which helps in getting different means of accessing payloads under different forms. Mule messages are similar to SOAP, JMS messages which have containers properties, header and multiple names attached to it. The main content of the message is called Payload.
80.Explain Mule Transformer?
Mule Transformer is an event instance of “org.mule.api.MuleEvent” library. This object carries the actual context of the message with the context of the event. The main purpose is to translate a message from one form to another. It can also create a chain of transformers. The message transit occurs between one medium to another medium while staging into different services.
81.Explain the concept of the endpoint?
An endpoint is a destination shared by many routers in a group which also helps in creating a global endpoint. The global endpoint is useful in different places in the configuration file but it is not similar for inbound and outbound routing services. The entire endpoint names must be specified during the services. These names identify the global endpoint in the group of routers.The global endpoint offers the usage clarification for a specific destination.
82.What is a Router in a MuleSoft?
The router is a critical service in MuleSoft. It finalises and assigns the running territory for the messages to move from one service to another. The routing is a transitory control
processing decided by the router which transits the message from one source to another. It
is also called as a gatekeeper of endpoint services. It tracks the targeted successions to
ensure message delivery on the right intended destination. Routers act as a bundle of
classified tasks such as split, sort, group or regroup, messages based on specified conditions or certain mappings.
83.Define the purpose of Endpoint in MuleSoft?
Endpoint defines the specific usage of a transport protocol in reading the message, writing, listening or polling to the target destination. The endpoint control entity ensures the usability of connectors. The target destination will be defined as a URI that depends on connectors which treat the destination as URI, URL or JMS.
84.What is the context of MuleSoft?
In general, the context of a message defines the overall purpose of the message but the
context of mule defines the temporary area that is created along with SMO (Server Message Object) in median flow while message transit. SMO contains shared context in the message flow that is used at the time of aggregation. The context of aggregation maintains the data between FanOut and FanIn primitives. The context of data which is present in the request flow is not persistent in the throughout request and responses flow as it belongs only to a request BO.
85. What is Shared Context?
Shared Context: Context is a temporary area which is created along with Service Message Object (SMO) in the Mediation Flows. Shared Context is a type of context which is present in the SMO. Shared Context is mainly used when we are using Aggregation process where we need to iterate the BO for Certain times. Shared Context maintains Aggregation data between Aggregation primitives. The Content (data) which is present in the shared context BO does not persist across Request and Response flows i.e. The Data in the Shared Context which is used in Request flow cannot be used again in Response flow.
86.What is a Mule UMO?
A Mule UMO is a Universal Message Object
UMO is now a legacy term. What was once referred to as UMO Components are now referred to as Service Components?
87.How to add classes/jars to the Mule class path?
Use the MULE_LIB variable (generally set in the run script)
To include JAR file(s) in a mule class path, declare each dependent jar file in the MULE_LIB entry.
For spring resource, if the XML bean declaration is placed within a project, include the projectJAR file in the class path too (i.e., if not included, Mule will throw a **.xml not found on classpath)
88.Where to find the class Abstract Mule Test Case?
This is in 1.4/1.4.1 distributions but was missing from the 1.3.3 distribution – the class is defined in /lib/mule/mule-core-.jar.
Our design of course tutorials and interview questions is practical and informative. At TekSlate,we offer resources to help you learn various IT courses. We avail both written material and demo video tutorials. For in-depth knowledge and practical experience explore online mule ESB Training.
Messaging framework to an enterprise-wide highly distributable object broker.
89.What Difficulties Mule Does Encompass?
Transport: applications can accept input from a variety of means, from the file system to the network.
Data format: speaking the right protocol is only part of the solution, as applications can use almost any form of representation for the data they exchange.
Invocation styles: synchronous, asynchronous, or batch call semantics entail very different integration strategies.
Lifecycles: applications of different origins that serve varied purposes tend to have disparate development, maintenance, and operational lifecycles.
90.Why was Mule Designed?
Mule’s core was designed as an event-driven framework combined with a unified
representation of messages, expandable with pluggable modules. These modules would
provide support for a wide range of transports or add extra features, such as distributed
transactions, security, or management. Mule was also designed as a programmatic framework offering programmers the means to graft additional behavior such as specific message processing or custom data transformation.
91.Why the Name Mule?
There is a lot of infrastructure work to be done before we can really start thinking about
implementing any logic. So this infrastructure work is regarded as “donkey work” as it needs doing for every project. A Mule is also commonly referred to as a carrier of load, moving it from one place to another. The load it specializes in moving is our enterprise information.
92. What Is Model Layer In Mule?
The first logical layer is the model layer. A Mule model represents the runtime environment that hosts services. It defines the behavior of Mule when processing requests handled by services. The model provides services with supporting features, such as exception strategies. It also provides services with default values that simplify their configuration.
93. What Is Service Layer In Mule?
A Mule service is composed of all the Mule entities involved in processing particular requests in predefined manners. A service is defined by a specific configuration. This configuration determines the different elements, from the different layers of responsibility that will be mobilized to process the requests that it will be open to receive. Depending on the type of input channel it uses, a service may or may not be publicly accessible outside of the ESB.
94. What Is Connector In Mule?
A connector is in charge of controlling the usage of a particular protocol. It is configured with parameters that are specific to this protocol and holds any state that can be shared with the underlying entities in charge of the actual communications.
For example: a JMS connector is configured with a Connection, which is shared by the different entities in charge of the actual communication.
95.What are various types of Exception Handling?
Choice Exception Handling.
Catch Exception Handling.
Rollback Exception Handling.
Global Exception Handling.
Default Exception Handling.
96.How to select an ESB?
Usability: How complicated is the installation process? The learning curve of the ESB should not belong.
Maintainability: How to monitor the product? If any GUI terminal is available for monitoring the services.
Community: Is there an active community for the ESB. Various discussion forums, tutorials, etc. Enterprise Support- Is the product support reliable. What services are available.
Flexibility: Can the ESB be configured to meet the business requirements.
Reliability: The reliability of the ESB. Its current users and various case studies if available.
Cost: The cost of the ESB. Its Licence policies. Support costs. etc.
97.What are the Message Sources in Mule ESB?
. Message sources in Mule are usually Anypoint Connectors, elements that provide connectivity to a specific external source, either via a standard protocol (such as HTTP, FTP, SMTP) or a third
party API (such as Salesforce.com, Twitter, or MongoDB).
98.Explain Mule Transformer?
Mule transfer is an event instance that belongs to org.mule.api.MuleEvent library. This object carries the actual context of the message with the context of the event.
The main purpose of the transformer is to translate the message from one form to another. It is also possible to create a chain of transformers. It transits the message from one medium to another while staging into different services.
99.What is the Transport Service Descriptor (TSD) in Mule?
The Transport Service Descriptor (TSD) is a technical configuration of the connector. This is a hidden configuration that is used in each instance of the connector.
It gives definitions to the parameters such as the use of particular parameters, what classes are required for that particular message receiver, dispatchers, and requesters.
The definition is about default transformation to use inbound or outbound and utilizing the
response of the router.
100.How are the messages in Mule composed?
The four different parts of the composed message in Mule
Payload – It’s the main data context carried by a particular message
Properties- Contains the Meta information or header similar to the SOAP message.
Multiple Name Attachments – To provide support for multipart messages. Or an exceptional payload for holding errors that occur during the event processing.
101. How to judge the need for ESB in a project?
Project applications need to be analyzed very carefully to avoid unnecessary
arrangements. ESB benefits in several ways for projects which need to operate in a huge
setup of multifunctional application support.
102.The analysis depends on many factors such as?
If the project requires a group of actions with additional applications and servers where
the interaction is happening between two or more complex resources.
If the project needs a broad scale up in the future and requires multiple application
communication over a single setup.
If the project requires to route the messages between one end to such as forking and
aggregation of the routed messages.
If the project allows this huge investment in need of application support.
103. Define Fileage properties in file connector in MuleSoft?
File age defines the waiting duration of the endpoint before starting to read the file again. Such as file age 60000 indicates that the endpoint should wait about 1 minute before starting the next processing.
104.What is the streaming property in the file connector in MuleSoft?
Streaming properties in connectors represent the values in true and false format. If the
streaming value is true, it means you are working on streaming data on the connector
otherwise if it’s false you are working on the file system.
105.What is the polling frequency in the file connector in MuleSoft?
If you want a new file inbound endpoints to poll direction to read the new content then you require to set the polling frequency to a few milliseconds to achieve this. Here polling
frequency defines the value of the poll.
106.Explain what is Configuration builder is MuleSoft?
Configuration builder in Mule helps to transfer the human authorized configuration file into a complex graph of objects that substitute a running node in ESB. Configuration builder can be defined into two types:
Spring Driven Builder: It works with XML files
Script Builder: It accepts scripting language files.
107.Explain the concept of the Auto-Delete feature in the file connector?
The auto-delete value of this feature is zero by default which means its inbound endpoint will automatically delete the file from the source directory.
In case the source directory file does not require to be auto-deleted then you need to set the value to false.
108.Difference between ESB and JMS?
ESB solves the business problem by providing middleware support for application integration and communication issues without writing code.
JMS helps you get equipped with messaging capability and solve the communication issues between modules and instances.
109.Explain the working functionality of the service layer?
Mule service is a set of all Mule entities that is required to support the processing
request in an arranged manner. This service is defined by a particular configuration that
defines the different elements from a different layer of services.
It mobilizes the request which is open to receiving a particular request. It depends on
the service layer’s input channels whether a service can or cannot be accessible outside
in a public ESB.
110.List of flow processing strategies in MuleSoft?
It represents six types of strategy for Flow Processing
Asynchronous Flow Processing
Custom Flow Processing
Tread Per Processing
Queued Asynchronous Flow Processing
Synchronous Flow Processing
Non-blocking Flow Processing
Queued Flow Processing
111.Explain the functionality of Fan-In and Fan-Out?
Fan-Out: you can use Fan-Out primitive to trigger the output terminal initially with the input message or many times as per need. Fan-Out can be used individually or as a combination of Fan-In and Fan-Out.
Fan-In: FanIn in a combination with Fan-Out works as a decision point to identify when to continue flow execution in the connector.
It accepts “N” number of messages until the decision point is made. The last message received in the flow is represented as an output terminal.
112.What configuration is required for JDBC Adaptor implementation?
JDBC adaptor configuration is not a complex task for those who have experience in connecting
DB. You need a data source to be connected and configured with a database.
Also if your DB is having secure access then you need to create a security authentication
program.
113.Explain Mule Data Integrator?
Data Integrator tool is launched by Mule, which is a data visualization mapping tool having support for flat files, XML Mapping, and Java objects.
It was a tedious task for the developer to code complex mapping functionalities so the Mule Data Integrator tool provides drag and drop features to make the coding process easier.
The mapping process gets support from eclipse (where plug-in has to be done before the
process) to run the Data Integrator which is part of top layer applications in Mule Architecture.
114.What is the MuleSoft Anypoint platform?
MuleSoft Anypoint is a unified integration platform that takes a comprehensive approach to API design and implementation. MuleSoft has around 300 databases, a SaaS platform, storage resources, and network service connections.
115.Explain Mule Expression Language (MEL)?
MEL is a Mule-specific expression language that is used to access and analyze data in a Mule message’s payload, variables, and properties. MEL allows you to rapidly and elegantly filter, route, or otherwise operate on the distinct components of the Mule message object. It is accessible and usable from practically every message processor in Mule.
116.What is the use of RAML in Mule soft?
From designing and deploying to sharing the API lifecycle in Mule soft everything is managed by REST ful API Modeling Language (RAML). The information needed to describe REST ful APIs is best expressed in RAML. It’s similar to WSDL (Web Services Description Language). Request/response schema, endpoint URL, URI parameter, HTTP methods, and query are all included in RAML.
117.Describe Caching?
In Mulesoft, the concept of caching is to store and reuse frequently called data. The scope of Cache is used to decrease the processing load on Mulesoft and to improve the message processing speed within a flow.
118.How do you implement caching in Mulesoft?
Using Cache scope or object-store, you can implement caching in Mulesoft. Internally cache scope uses Object store for data storage. Both Cache scope and Object store have their particular use cases whenever required effectively.
119.How may the Mule application’s performance be improved?
Over VM endpoints, try using flow references.
Connectors should ideally employ connection pooling.
Transforms can be done with Dataweave.
In apps, try to stay away from session variables. Performance is harmed by serialization and deserialization of session variables.
120.What are MuleSoft’s integration patterns?
The patterns serve as a framework for developing, implementing, and integrating
messaging and integration systems, as well as a common language for teams to use
when developing solutions. Mule minimizes the time it takes to build integrations by
using the patterns you use to create solutions.
121.Define AnyPoint Exchange?
The ability to explore, distribute, and incorporate assets and resources into your apps is one of the benefits of Anypoint Exchange. Build API developer portals, test and view APIs, build assets, simulate data to APIs (Mocking Service), and utilize API Notebooks to describe and test API functionality using Anypoint Exchange.
122.What services and tools does Mulesoft provide?
MuleSoft provides rigorous and effective assistance with data integration. MuleSoft provides the following services and tools:
API Designer is a web-based tool for JavaScript development that includes a console and a scripting notepad.
API Manager is a management solution that helps firms manage users, traffic, and SLAs.
Anypoint Studio is a graphical interface for creating and editing APIs and integrations.
API Portal provides developers with a variety of API-related documentation, tutorials, and code samples.
API Analytics is an analytics tool that lets users track an API’s parameters. Its performance, functionality, and dependability are all factors to consider. A dashboard and charts are also included.
123.In MuleSoft, what exactly is a batch job?
Mule processes a message payload as a batch of records in a batch job, which is the
scope element of an application. All three phases of processing are included in the
phrase batch job: load and dispatch, process, and completion.a
124.In MuleSoft, what precisely is a batch aggregator?
A Batch Aggregator populates a collection with data until it reaches the Nth record,
which is equal to the Batch Aggregator’s size attribute. The payload of the Mule Message
that is processed by the Batch Aggregator processors is then the collection, which
contains all records.
125.What are the benefits of batch processing?
Batch processing is a method for automating and processing a large number of transactions at once. Batch processing is useful for processes such as payroll, month-end reconciliation, and overnight trade settlement.
126.What are connectors in MuleSoft?
A connector is software that links a Mule flow to an external resource. The resource can be any content source, such as a database, protocol, or API. You can create a connector using the Any point Connector DevKit and the Anypoint Studio IDE. To make a connector, you’ll need Java 6 or 7.
127.What are Anypoint connectors, and how do you use them?
Anypoint Connectors are reusable Mule runtime engine (Mule) extensions that allow you to connect Mule apps to third-party APIs, databases, and standard integration protocols. The connector configuration can be changed without requiring other elements of the program to be updated.
128.In Mulesoft, what is a Flow?
A flow is a series of Mule components that are linked together. An inbound endpoint
component (from where the communication originates) and an outbound endpoint component are typically included in flow. As a result, the flow is in charge of all of the message’s processing phases
129.What’s the difference between flow and subflow?
Exception handling is handled differently in a private flow. Despite the fact that a sublow
handles messages synchronously, the caller flow provides the processing strategy and
exception handling.
Flows can be triggered by sources. No event sources exist in subflows.
When compared to subflows, referring flows have a lower performance.
Error management can be customized for each flow. Error handling is absent in subflows.
130.What is MuleSoft’s CloudHub?
CloudHub is a platform as a service (PaaS) component of Anypoint PlatformTM, which is a global, fully managed, multi-tenanted, secure, and highly available API and integration
platform. You’ll get regular software upgrades, and you won’t have to worry about complicated hardware upkeep.
131.What MuleSoft deployment options are available?
On-premise
Runtime Fabric (RTF)
Anypoint PCF (Anypoint Platform for Pivotal Cloud Foundry)
Anypoint PCE (Anypoint Public Cloud Edition)
132.What is PCE?
In Mule soft, PCE is an acronym for Platform Cloud Edition. Mule apps are managed
and executed on your local servers with Any point Platform Private Cloud Edition (Any
point Platform PCE). High availability and scalability are built-in to the Any point
Platform PCE thanks to Dockers and Cabernets. Without knowing Dockers or
Cabernets, you can install the platform.
133. Describe Mule Maven Plugin?
Mulesoft application deployment and undeployment are managed by Mule Maven Plugin. With Enterprise Mule Runtime engine and Community Mule Kernel, you can utilize it. You can automatically deploy applications to the cloud, on-premise, and Anypoint Runtime Fabric Manager.
Mule Maven Plugin supports the facollowing tasks:
Package: Used to execute a file or generate jar to Mule application.
mvn package
Deploy: Used to upload, deploy, and run the application on the target system.
mvn deploy -DmuleDeploy
Undeploy: Used to delete applications from the target system.
mvn mule:undeploy
134. What is watermarking in Mule 4?
Mulesoft Watermarking is a technique associated with duplicating processes while
synchronizing data. Watermarking is the most common use of the object store.
135. What are the 4 different ways to connect Anypoint VPC to a private
network?
Using the following methods, you can connect Anypoint VPC (Virtual Private Cloud) to a private network:
Transit gateway attachment.
AWS Direct Connect.
IPsec tunnel.
VPC peering.
136. In MuleSoft, what exactly is an API manager?
API Manager is a component of the Anypoint Platform that allows you to manage, control, and secure APIs. API Gateway and Anypoint Service Mesh, both of which enforce policies, collect and track data of analytics, handle proxies, offer encryption and authentication, and manage applications, are used in the runtime.
137. What is the difference between an API manager and an API gateway?
While API gateways and API management are often used interchangeably, API management refers to the overall solution for managing APIs in production, which may include a cluster of API gateways, an administrative UI, and even add items like a developer portal for customers to sign up and generate new API keys.
138.What is the benefit of using MuleSoft Design Center?
Anypoint Design Center gives you the tools you need to create connectors,
implement data and application flows, and make API design, reuse, and testing
much easier.
139.What is Mule Runtime Manager, and what does it do?
Runtime Manager is an Anypoint Platform tool that lets you deploy and manage all of
your Mule applications in one place, whether they’re in the cloud or on-premises.
Anypoint Platform now has the ability to manage Scheduled flows from Mule Runtime
3.9.0 onwards.
140.What is a vCore MuleSoft?
On Cloudhub, it is a unit of computing capability for processing. A maximum of 10
apps can be deployed on a single vCore, with each mule program consuming 0.1
vCore.
141.What exactly is DataWeave?
DataWeave is a functional programming language that focuses on data transformation. It’s MuleSoft’s main data transformation language, as well as the expression language for
configuring components and connectors. DataWeave, on the other hand, can be used in
different ways, such as as a command-line tool.
142.How can you get access to Dataweave’s secure properties?
You can access the secure property defined as part of the secure property file in the mule application by using p(‘secure::property name>’).
143.What is the best way to call Flow from within a data weave?
To call flow from inside a data weave, you can use the data weave lookup function. It’s
compatible with Mule programs that run on Mule Runtime 4.1.4 or later. It accepts two
parameters: the name of the flow and the input payload. For example, Lookup(“flow name”, payload”).
144. In MuleSoft, what exactly is a batch aggregator?
A Batch Aggregator populates a collection with data until it reaches the Nth record, which is equal to the Batch Aggregator’s size attribute. The payload of the Mule Message that is processed by the Batch Aggregator processors is then the collection, which contains all records.
145. What is distributed file polling, and how does it work?
Distributed file polling is used in Mule 4 to poll files across cluster nodes. This feature is
enabled by default in only a few connectors.
File Connector
FTP Connector
SFTP Connector
Connectors can be configured to poll exclusively from the primary node @primaryNode
Only, overriding the mule runtime engine’s default setting.
146.What is the purpose of identity management?
Users can be set up for single sign-on using identity management.
The SSO Standard is listed below.
Open ID connect
Open AM
OKTA
PingFederate
SAML 2.0
Salesforce
147.How does Mulesoft use OAuth 2.0?
In an OAuth2 Dance, the OAuth2 Provider Module lets a Mule Application be set up as an
Authentication Manager (OAuth provider). During the execution of a flow, the application will be able to authenticate registered clients, issue tokens, validate tokens, or register and delete clients with this role.
148.What are the different types of grants in OAUTH 2.0?
AUTHORIZATION_CODE
RESOURCE_OWNER_PASSWORD_CREDENTIALS
CLIENT_CREDENTIALS
IMPLICIT
149.What are the requirements for building a DLB (Dedicated Load
Balancer)?
By adding the Cloudhub Network Administrator permission to the profile of the organization where you’re creating the load balancer, your profile is authorized to conduct this activity. In the organization where you wish to establish a load balancer, create an Anypoint Virtual Private Cloud (Anypoint VPC). Make at least one certificate and a private key for it.
150.What exactly is the EU Control Plane?
MuleSoft hosts an EU-only version of the Anypoint Platform control plane (Frankfurt or Dublin data centers). This allows you to install and manage your APIs, apps, and data exclusively within the European Union. This covers MuleSoft-related data and metadata. The EU control plane assures that all MuleSoft data is stored on the EU.
151.What is the purpose of the Anypoint runtime Plane?
Anypoint runtime plane deploys the mule runtime application and runs the mule runtime
engine; in the case of Cloudhub, MuleSoft will maintain the runtime plane, while on-premise and RTF runtime planes will be controlled by the customer.
152.What do you understand by Mule? / What is MuleSoft?
Mule or MuleSoft is an integration platform that helps to connect devices, applications, and data. It is also used to connect enterprise and SaaS applications in the cloud and on-premise. Mule also helps to tackle the problems in developing integration applications, delivering asingle view of the customer, automating business processes, and building connected experiences.
Mule or Mulesoft’s platform is called Anypoint Platform. This platform consists of several tools for developing, managing, and testing application programming interfaces (APIs), which support such connections. MuleSoft’s Anypoint Platform is the world’s leading integration platform for Service-oriented architecture (SOA) and Software as a Service (SaaS).
153.What are some problems that Mule or Mmulesoft tackles?
Following is a list of some problems that Mule or Mulesoft tackles:
Error handling
Monitoring
Lifecycle and management
Data format, etc.
After solving these problems, Mule focuses on the application’s core requirements, such as scalability and efficiency.
154.Who is known as the father of Mulesoft?
MuleSoft was founded by Ross Mason in 2006, so he is known as the father of Mulesoft.
According to the company’s website, the name MuleSoft comes from the ability of this
platform to eliminate the hard work (“donkey work”) and provide a simpler solution. The
company chose this name because it reflects its platform’s hybrid capabilities and also because mules are a hybrid combination of donkeys and horses.
155.What are the different types of variables used in MuleSoft?
Following is the list of different types of variables in MuleSoft:
Flow Variable: The Flow Variable is used to either set or remove the variables tied to a
particular message in the current flow.
Record Variable: The Record Variable is used for batch processing flows.
Session Variable: The Session Variable is used to either set or remove the variables tied to a particular message for the complete lifecycle.
156.What are the different types of Exception Handling in Mulesoft?
Following are the different types of Exception Handling in Mulesoft:
Default exception handling.
Rollback exception handling.
Choice exception handling.
Global exception handling.
Catch exception handling.
157. What are the different types of endpoints in Mule ESB?
Following is a list of different types of endpoints in Mule:
JMS
HTTP
SMTP
IMAP
AJAX
158.What are the key advantages of using Mulesoft ESB?
Following is the list of the key advantages of using Mule ESB:
Mule ESB provides several connectivity options using SaaS-based applications.
It offers a high level of operational controlling facility from the portal based on the web.
It also provides API and analytics management.
Mule ESB is incorporated with several bug fixing and automated testing facilities.
Mule ESB offers EDI (Electronic Data Interchange) and B2B (Business to Business) integration.
It provides a batch integration feature using real-time integration methods.
159.What are the Batch Jobs in Mulesoft ESB?
In Mule ESB, Batch Jobs are the elements that can split large messages into records. These records are then processed asynchronously in a Batch Job.
When a Batch Job scope is initiated within an application, it splits messages into individual
records. It performs actions upon each record, and then reports on the results are pushed the processed output to other systems or queues. Using this, we can handle a huge quantity of incoming data from an API into a legacy system. We can also synchronize data sets between business applications.
160.What is the difference between ESB and JMS?
ESB provides the middleware and interfaces services that facilitate the business
enterprises to connect their applications without writing any code. On the other hand,
JMS provides the communication facility and messaging capability between the
modules of an application.
161.What is the Mule Transformer or Mulesoft Transformer?
Mule Transformer or Mulesoft Transformer is an event instance used to refer to a
library, org.mule.api.MuleEvent. This is used to carry the messages with the event.
The main aim of the Mule transformer is to create a chain of transformers.
162.What are the Models in Mulesoft studio?
In Mulesoft studio, the grouping of services, i.e., application objects and their created
attributes, are called Models. Models enable a user to start and stop the services inside a
given model.
163.What is API in Mulesoft, and what are its main features?
In Mulesoft, API is an acronym that stands for Application Programming Interface. It is a
software interface that allows two applications to interact with each other without any user
interference.
API is used to enable products or services to communicate with other products and services without knowing how they are implemented.
164.What parameters are used in configuring a scheduler in Mulesoft?
Following is a list of related parameters which are used to configure a scheduler:
Frequency: Frequency is used by the scheduler for triggering flows.
Start Delay: Start Delay is the waiting time used before triggering any flow.
Time Unit: It is used to specify the time unit for frequency and start delay.
165.What are the various parts of composing a message in Mulesoft?
Following are the different parts of composing a message in Mulesoft:
Properties: Properties are used to store the header or meta-information similar to the SOAP (Simple Object Access Protocol) message.
Payload: Payload is the main data context carried by a particular message.
Multiple name attachments: Multiple name attachments are used to support multiple
messages or payloads during event processing.
166.What is Mule Data Integrator?
A Mule Data Integrator is a tool used to map data by visualizing it. It also provides a drag and drops feature interface, which facilitates developers to code easily.
167.What do you understand by a shared resource in Mulesoft?
In Mulesoft, a shared resource is a common resource that is exposed to all applications
deployed under the same domain. The biggest advantage of using the shared resource is that it allows different development teams to work parallel.
For example, Connector configurations can be used as a reusable resource, sharing them
among all applications deployed.
The shared resources should be defined in the Mulesoft Domain Project and referred to each of the projects eligible to use the elements within it.
168. What are the different types of flow processing strategies in Mulesoft?
Following are the different six types of strategy Mulesoft has for flow processing:
A queued asynchronous flow processing.
Custom flow processing.
Tread per processing.
Queued flow processing.
Non-blocking flow processing.
Synchronous flow processing.
Asynchronous flow processing.
169.What are Connectors in Mule soft?
In Mulesoft, connectors are Mule’s abstraction used for sending and receiving data and
interacting with various APIs. There are generally two types of connectors in Mule:
Transport: Transport is the most common form of connector used in Mule. Like HTTP, transport is used to provide an adaptation layer for a protocol.
Cloud connectors: Cloud connectors are generally used to interact with an API. They don’t give endpoints. Instead, they have message processors that map to the operations provided in the API. These cloud connectors combine the operations of an API.
170. What are the different types of ESPs used in the market?
Following are the different types of ESPs used in the market:
Mule ESB
JBoss fuse ESB
Talend
171.What are the Workers in Mulesoft?
In Mulesoft, Workers are the dedicated instance of Mule hosted on AWS. They are used to run the integration applications.
Following is the list of some important features of the workers:
Capacity: It is used for data processing. Every worker has a certain amount of capacity.
Isolation: Isolation means that every worker runs in a separate container from every other application.
Manageability: It specifies that the deployment and management of each worker are done independently.
Locality: This feature specifies that every worker that runs is located on a specific worker cloud.
172.What does the model layer of Mulesoft represent?
The model layer is the first logical layer of Mulesoft. It is used to represent the runtime
environment that hosts services and describe the behavior of Mule when processing requests
that are handled by services. It provides services with default values to simplify configuration.
173.What is a runtime manager in Mulesoft?
In Mulesoft, the runtime manager is used to deploy and manage Mule applications. This is done on the Mule runtime engine where Mule is running. We can change the runtime
version of the application at a given time and also deploy or pause the mule application by
using runtime manager. We can also increase or decrease the worker size as well.
174.What is a connector in MuleSoft?
In Mulesoft, a connector is used to control the particularly used protocols, and it can be configured with parameters specific to that protocol. The connector also holds state context, which we can share with any entity in charge of actual communications.
175.What are the ways to improve the performance of the Mule Application in MuleSoft?
Following are some ways that can be used to improve the performance of the Mule Application in MuleSoft:
By putting the data validation at the start of the flow.
Use the streaming to process data.
Save the results of the application and reuse them later.
Process data asynchronously wherever is possible.
176.What is the use of Outbound Endpoint in MuleSoft?
The Outbound Endpoint in MuleSoft is used to perform the following things:
Send SOAP messages
Write to file streams
Send email messages
177.How can we achieve reliability in Mulesoft?
In Mulesoft, reliability means zero message loss. So, if you want to achieve reliability,
then your application must be designed to capture the state of a running
process/instance, which another running node in the cluster can pick up.
Reliable messaging is achieved by the built-in support of transactions in transport if
the application uses a transactional transport such as Java Message Service (JMS),
Virtual Machine (VM), Database (DB), etc. A reliable messaging pattern is mandatory
if we are dealing with non-transactional endpoints.
178.What is a component in Mule?
Components are used to perform an important role in Mulesoft services. Every service
in Mulesoft consists of core components and core and inbound and outbound routers.
Components are also used to implement behavior in service. They can be very simple,
like logging messages or invoking other services.
179.What is the full form of TSD in Mule?
TSD is an acronym that stands for Transport Service Descriptor. It is a connector used for technical configuration. It is used to define classes name used for message receivers,
dispatchers, and requesters. Its default value may be changed according to the behavior of
transport.
180.What are the main characteristics of the global endpoint?
Following is the list of main characteristics of global endpoint:
The global endpoint can be used in different places of configuration files.
It is not typified or outbound routing.
It must apply the global service name so that it can reference the endpoint.
It also helps to clarify the usage of a particular destination.
181.Which are the supported languages by Mulesoft?
Following are the main supported languages of Mulesoft:
Python
Ruby
Groovy
JavaScript
182.What are the different types of configuration builders in Mulesoft?
There are mainly two types of configuration builders in Mulesoft:
Spring-driven builder
Script builder
183.What is a multicasting router in Mule?
In Mulesoft, multicasting routers send messages to more than one endpoint over
different transports, and it also facilitates users to move the same messages across
different endpoints.
184. What is Transient Context?
It is the context which is used for passing values between the request flow, responses flow or Mediation primitives within the current flow. The transient context is not able to link the requests and responses and hence it cannot be used across. It is used when you are required to save an input message before a service is invoking a call. After the service’s invoke the call, the next primitive can be used to create another message by combining the original message. The service invokes responses which are stored in the transient context.
185.What is the difference between Mule Connectors and Transports Mule ESB?
Transports are targeted towards a way of transporting data, i.e. a protocol like HTTP or
reading/writing files. These are also defined as the general concepts and the other party that is behind such as a data channel and can be anything, a party with whom data can be exchanged, pure data sink or an own company.
Connectors are used for specific APIs, e.g. those from salesforce.com or facebook. Usually
choosing a connector also determines how the data will be get transferred in the end, e.g.
HTTP.
186.Why the Name Mule?
We should know that there is a lot of infrastructural work to be done before we can really start thinking about the implementation of any logic. So this infrastructural work is
regarded or termed as “donkey work” as it is needed to be done for almost every project. A
Mule is also simply referred to as a carrier of loading that is moving it from one place to
another. The load here specialized in moving is our information of enterprise.
187.What Is Filter In Mule?
Filters are defined as a powerful complement to the routers. Filters are providing the brains to routers needed for making the smart decisions about what to do with messages in transit. Some filters go as far as deeply analyzing the message content for a particular value on which their outcome will usually be based.
188. How to add classes/jars to the Mule classpath?
By making use of the MULE_LIB variable (generally set in the run script).
To include JAR file(s) in a mule classpath, declare each dependent jar file in the MULE_LIB entry. For spring resource, if the XML that has been declared is placed within a project, including the project JAR file in the classpath too.
189.What is a Mule UMO?
A Mule UMO is referred to as a Universal Message Object.
UMO is now a legacy term. These are the Components which are now termed or referred to as Service Components.
190.What is a Mule UMO?
A Mule UMO is referred to as a Universal Message Object.
UMO is now a legacy term. These are the Components which are now termed or referred
to as Service Components.
191.What are Web Services?
Web service refers to functionality or a small piece of the program in any of the programming languages that can be accessed over the HTTP. Message format can be JSON or XML or any other type of the program as long as the other programs are able understand and communicate. A Web service can be of synchronous or asynchronous type. Any web service having a server-client relationship can have multiple clients.
192. What would you consider your technical specialty?
According to professional Answers Preview one should say that “Computing and the Network Communications has always been a really strong area or field for me. I am having a big interest in how network communication is improving our daily lives and also our overall business efficiency. I see that you are looking for team members who are experts in network communications which is why it really caught my eye when I first saw your job posting.” “I have been focusing on my career on becoming a specialist of cloud integration although I do have the cross-platform app development expertise as well.”
193.What is the MuleSoftAnypoint platform used for?
MuleSoft’s Anypoint Platform of integration products is designed for tying together software as a service (SaaS) and on-premises software.
194.What is the use of Web service?
Web services are the XML-based information exchanging systems that make use of the
Internet for the direct application-to-application interaction. These systems can include
the objects, documents, programs or messages.
195.What is Mulesoft used for?
Mulesoft is an integration platform that is allowing the developers to connect the applications
together quickly and easily which also enables them to exchange the data.
196. Is Mulesoft a middleware?
Mule Enterprise Service Bus is defined as a middleware technology which is quickly, easily, and securely connected to the enterprise. Unlike the typical middleware software, Mule as an ESB is defined as a Java-based middleware solution which is easy for using and easy for scaling. A web service is defined as a collection of open protocols and standards used for exchanging data between applications or systems.
197.What are the advantages of Soap Web Services?
WS Security: SOAP used to define its own security which is termed as WS Security.
Language and Platform independent: SOAP web services can be written in any programming language and executed in any platform.
Disadvantages of Soap Web Services:
Slow:SOAP makes use of the XML format that must be parsed to be read. It defines manystandards that must be followed. So it is slow and also consuming more bandwidth and resource.
WSDL dependent: SOAP makes use of the WSDL and doesn’t have any other mechanism for discovering the service.
198. What are the Features of Mule ESB?
An ESB is used for the integration by making use of a service-oriented approach. Its main features are as follows:
Set of Service Container
Message Transformation Service
Message Routing Service
Web Service Security
199.What Is a Model Layer In Mule?
The first logical layer in the Mule is termed as the model layer. A Mule model is representing the runtime environment that is hosting the services. It usually defines the behavior of Mule when processing requests that are handled by the services. The model is providing the services with supporting features such as exception strategies. It also provides services with default values that simplify their configuration.
200.What Is a Service Layer In Mule?
A Mule service is usually composed of all the Mule entities that are involved in processing
particular requests in the predefined manner or ways. A service gets defined by a specific
configuration. This configuration determines the different elements, from the different layers of the responsibility, which will be mobilized for processing the requests that will open for receiving. Depending on the type or kind of input channel it makes use of, a service may or may not be publicly accessible outside of the ESB.
Select the best institute for the best training