Mulesoft Interview Questions

 

1. What is MuleSoft?

MuleSoft is a cluster-based solution provider that integrates with Data, Applications, and APIs on-premises over the cloud platform. It works on “AnyPoint Connectivity Model” which connects existing SaaS-based applications or set of APIs through one single API interface. It is flexible in accessing all the required applications with this integration support that is based on service-oriented architecture. MuleSoft runs the programmable web portal for building web, mobile and other user applications. know more at Mulesoft online training

2. What is ESB?

The Mule ESB is an integration platform based on ESB java that enables the developers to quickly connect the applications and exchange the data. It integrates with the existing system irrespective of the technologies which the applications use such as Web Services, HTTP, JDBC, JMS etc.

3. What are all the Primitives used in Mediation?

There are many different types of primitives 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
  • 4. Name the types of Exception Handling in MuleSoft?

    There are five types of Exception Handling in MuleSoft.

    • Global Exception Handling.
    • Catch Exception Handling.
    • Choice Exception Handling.
    • Default Exception Handling.
    • Rollback Exception Handling.
    • 5. What is Transient Context?

      It is used in passing the required values within the existing flow. The flow can be either a requesting flow or a responding flow. Transient flow is not used across since it will not make the link requests or responses together. It will not be used in saving an input message before service gets invoked into request or response flow. In general the transient acts as temporary storage of messages. After service invokes a call, the next primitive creates another message by combining the invoking response and the original message that is stored in the Transient Context.

      6. How can you develop and consume SOAP services in Mule?

      SOAP services are created in a similar fashion as that of creating a Mule project by using RAML. The difference is that Concert WSDL is imported instead of RAML and SOAP services are consumed by using Web Service consumer or Mule flow CXF components. know more at mulesoft training

      7. Difference between Callout and Service Invoke?

      Service Invoke: This primitive is used in making the service request either a request or response of a mediation flow. The service can be a request/response or a one-way. A series of service invocations are performed after permitting the multiple instances of a service invoke primitives in a flow.

      Callout:  The callout receives the message and calls the requested service and operation.  For each connected target operation, there will be a callout node in the median flow.

      • When the call is successful, the callout response node in the response flow receives a response message 
      • When the call is unsuccessful, the callout will be set to retry service invocations depending on the type of fault received.

      8. What is the advantage of using Mule ESB?

      Mule ESB is a lightweight and highly scalable integration framework which enables the developers to start and connect various applications. The Mule manages the exchange between the components, applications transparency and ESB is taken care of by various applications. Mule can easily integrate third-party applications.

      9. What is the functionality of Fan-in and Fan-out?

      Fan-out: The Fan-Out primitive is used to fire the output terminal once or multiple times. Fan-Out can be used in isolation or as a combination of Fan-Out and Fan-In.

      Fan-in: The Fan-In acts as a decision point to continue the flow execution. Until a decision point is reached it receives a number of messages, at which point the last message to be received is propagated to the output terminal. The Fan In primitive can be used in combination with Fan-Out.

      10. Name the features in Mule ESB?

       An ESB follows a service-oriented approach and is used in the purpose of integration. The features include.

      • Message Routing Service.
      • Message Transformation Service.
      • Set of Service Container.
      • Web Service Security.

      11. What are all the configurations required for JDBC Adapter implementation?

      The configuration of JDBC adapter is not a complex task, it just needs a data source to connect and configure with a database. A security authentication program must be created if the DB has secure access.

      12. What is the Difference between SDO and SMO?

      SDO: It is a Service Data Object which represents a variable or an object.

      SMO: It is a model pattern that is used for SDO to represent messages.

      13. What is the Difference between Stop and fail?

      It is used to stop the particular path inflow without generating any exception.

      Fail: Generates a failure in the flow.

      14. What are the different types of variables in Mule?

       There are three different types of mule variables.

      • Record variable.
      • Session variable.
      • Flow variable.

      15. Explain the core principles in ESB Integration.

       ESB Integration has four core principles.

      • Transportation - Transport protocol negotiation between different formats including JMS, JDBC, HTTP, etc.
      • Transformation - Data transformation between the data formats as required by every individual ESB connector.
      • Non-functional consistency - Applying the consistent implementation of monitoring and security policies.
      • Mediation - As the name suggests which involves offering different interfaces.
      • Enabling different channels for the same unlying implementation of components.
      • Support for backwards compatibility with different service versions. know more at Mulesoft online training from India

      16. What are various parts of composing a message in Mule?

      Properties - It contains the header or meta-information or header similar to SOAP.

      Payload -  It is the main data context carried by a particular message.

      Multiple name attachments - Provides the support for multiple messages or payload during event processing.

      17. What are the different types of messages in MuleSoft?

      Echo and Log message: These are log messages and it moves from inbound to outbound routers.

      Bride Message:  It is a passed message from inbound to outbound routers.

      Build Message: These are messages which are created from fixed or dynamic values.

      18. 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.

      19. 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"/>

      20. 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.

      21. 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.

      22. Name the configuration patters provided by the MuleSoft?

      The configuration patters of MuleSoft are:

      • Bridge
      • Validator
      • WS proxy
      • Simple service pattern
      • HTTP proxy

      23. What are the characteristics of a global endpoint?

      The characteristics are:

      • The global endpoint is not typified or outbound routing.
      • It is used in configuration files at different locations.
      • The global service name is applied for referring to the endpoint.
      • It helps in clarifying the usage of particular destinations.

      24. What is the use of Outbound Endpoint in MuleSoft?

      The Outbound Endpoint performs the following things:

      • Sending the SOAP messages.
      • Writing to file streams.
      • Sending email messages.

      25. What Are Available Esbs Apart From Mule?

      There are different ESBs available in the market which is both licensed and open source. They are:

      • JBoss Fuse. 
      • ESBMule. 
      • ESBTalend.

      26. What the various categories of Mule Processors?

       There are six categories in Mule Processors.

      1. Components.
      2. Exception strategies.
      3. Business events.
      4. Routers.
      5. Connectors.
      6. Transformers.

      27. Name the languages supported by MuleSoft?

      The supported languages of MuleSoft are:

      1. Ruby.
      2. Python.
      3. Groovy.
      4. Javascript.

      28. What are the benefits of the logger component?

      The benefits are:

      • This core component can be added by users anywhere in the workflow.
      • It can be configured for any combination of strings and expressions.

      29. 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. know more at Mulesoft online course

      30. 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

Comments

Popular posts from this blog

What is Azure?

SharePoint Interview Questions

Selenium Interview Questions