Deck1 Flashcards
What is an ESB?
- An Enterprise Service Bus (ESB) facilitates the transfer of data and intructions among services, processes, applications, existing internal systesm, data warehouses, analytical systems, and so on. The term bus is borrowed from computer architecture, since a computer bus similarly transfers data and instructions among components in a computer.
- There are no standard features for an ESB. Nevertheless, all can serve as a router and all need to provide the functionality of adapters. This allows a designer to delegate routing, protocol conversion, and message transformation to the ESB.
What is MuleSoft?
MuleSoft which is broadly known as Mule. It is a lightweight Javabased ”Enterprise Service Bus” (ESB) and integration platform that allows developers to connect applications quickly and easily, enabling them to exchange data.
Mule ESB enables easy integration of existing systems, regardless of the different technologies that the applications use, including JMS, Web Services (E.g. SAP CLM, Oracle Web Services etc) ,JDBC, HTTP, and more.
How is Mule better than other ESB’s available in market?
Its correct there are no. of ETL’s (Extract, Transform, Load) available in market but when it comes to ESB, Mule is far ahead of its competitors.
Below points will focus on HOW?
- Highly Accessible: As supports a wide variety of code languages. It comes with a large variety of broadly used tools that your team might be familiar — fewer problems to the expansion team in writing custom code.
- Reusability of Components: The team is inspired to reuse your infrastructure’s segments.
Lightweight: Its modular layout helps you make it lighter by eliminating all the unused modules.
- Effective Up and Down Scaling: Infinite liberty for your teams to connecting as many apps and systems as mandatory.
- Integration of All Mechanism: Despite the Technology used. Not just combining them under its umbrella it also develops communication across the foundation of various apps and multiple systems.
- Community Edition Availability: The Mule runtime is available as a free/open source Community Edition.
How we do designing and development in Mule?
Anypoint Studio is MuleSoft’s Eclipse-based integration development environment for designing and testing Mule applications. You can deploy the application and run it on your Mule server.
The latest version of AnyPoint studio available is 7 which is used with Mule 4. But the Anypoint Studio release version 6.5.1 which is used with Mule runtime 3.9.1 is broadly used in market these days.
So some of company is trying to adopt the Mule 4 for the integration of new applications.
What are all the connectors available in Mule?
In Mule there are various connectors available such as File, SFTP, Salesforce, SMTP, HTTP, Anypoint MQ, Cloudhub, JMS, Ajax, Database, FTP, Webservice Consumer and many more.
In Mule there is an option of creating custom connector ,so we can create according to our requirement.
What is scope and what all scopes are available in mule?
Scopes are Mule components that can wrap a group of operations within a flow to define a fine-grained behaviour for them to apply.
They can be used to define the frequency at which to perform an operation, or to specify that a certain group of operations should be applied asynchronously.
The frequently used scope are : - Sub Flow, Async, Foreach, Composite, flow, Batch Step, Cache, Batch Commit, Message Enricher and many more.
What is the difference between Flow and Sub Flow?
Flow : Flow is a message processing block that has its own processing strategy and exception handling strategy. Used in integration tasks, data processing, connecting applications, event processing, etc.
Sub Flow : Subflow always processes messages synchronously but inherits processing strategy and exception handling strategy from the calling flow. It can be used to split common logic and be reused by other flows
What is Private Flow and why it is used ?
A flow with out message source is called Private flow.
Private flows are another type of reusable flows, much similar to sub-flows but with a very different behaviour in terms of threading and exception handling.
The primary reason for using a private flow instead of a sub-flow is to define in it a different exception strategy than from the calling flow (something that is impossible with a sub-flow).
We can call private flow from main flow using flow-reference.
What is the difference between Mule Message and Mule Event?
Mule Message : Mule Message basically contains the actual information which needs to be processed through message processor.
Mule Event : Mule Events are basically business events which are happened with each message processor, we used to record and can track/see on Mule Management Console (MMC). Like - Number of records processed in particular flow, total time taken to process, etc.
What are the variables in Mule?
There are three types of variable in Mule –
1) Flow Variable: These are those variable whose existence is only within the flow. But in one condition it may exist outside the flow when there is no transport barrier present between the flows of the application.
2) Session Variable: These are those variable whose existence is across the application and it can easily cross the transport barrier between the flows of application.
3) Record Variable: These are those variable whose existence is only found in batch processing.
What is the difference between inbound and outbound properties?
- Inbound Properties : These properties are not set by us, this can be set by the input endpoint. You cant modify them also. Inbound properties are lost when crossing a transport (endpoints like http).
- Outbound Properties: These properties can be set by us. When crossing a transport (endpoints like http), outbound properties are automatically turned into inbound properties, and no longer exist as outbound properties.
NOTE: By default Outbound Property of a flow becomes the Inbound Property for the immediate next flow.
What is QUERY and URI parameters?
URI Parameter:
• Part of the URL to access resources.
• To have dynamic resources, to act upon the more granular objects of the resources.
• Used for nesting of resources.
• Denoted by surrounding curly brackets in RAML.
• List item.
e.g. /candidates:
/{candidateName}:
Query Parameter:
• To be passed to methods, to extend the functionality of the API.
• To make developers to be able to perform more powerful actions, like filtering a collection based on passed parameters.
• Query parameters may also be something that the server requires to process the API consumer’s request, like an access token.
e.g. /candidates :
/{candidateName} get: queryParameters : rollNo : displayName : Roll Number type : string required : false
Is there any difference between mule message and payload?
Yes , there is the difference
Mule Message :
The Mule message is the data that passes through an application via one or more flows. It consists of two main parts “Message Header” and “Payload”. A Mule message is, itself, embedded within a Mule message object.
Payload:
Payload is a part of mule message. It basically contains the business specific data.
Where do we manage and deploy our mule applications?
We can manage our application at two places.
“Agent”
1)Cloudhub : It is an integration platform it enables you to deploy and manage your application in the cloud and this can be accessible to the group outside the organization with proper security.
2)On-premises: The application which is used only within the organization is deployed here.
What is an Anypoint platform?
Anypoint Platform is MuleSoft’s integration application and API suite. It comprises a unique tool set that enables organizations to create, integrate, model, build, and deploy services, APIs, and Mule applications.
It consists of tools for performing different functions on API.
- Design Centre
- Exchange
- Runtime Manager
- API Manager