Deck1 Flashcards

1
Q

What is an ESB?

A
  • 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is MuleSoft?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How is Mule better than other ESB’s available in market?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How we do designing and development in Mule?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are all the connectors available in Mule?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is scope and what all scopes are available in mule?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the difference between Flow and Sub Flow?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Private Flow and why it is used ?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the difference between Mule Message and Mule Event?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the variables in Mule?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the difference between inbound and outbound properties?

A
  • 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is QUERY and URI parameters?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Is there any difference between mule message and payload?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where do we manage and deploy our mule applications?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an Anypoint platform?

A

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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is methodologies used in designing mule application?

A

Agile for Mule applications

17
Q

Which language is used in mule?

A

Mule Expression Language (MEL) MEL is a lightweight, Mule-specific expression language that you can use to access and evaluate the data in the payload, properties and variables of a Mule message.

18
Q

What are the HTTP methods you have used in REST services?

A

Below are the methods with descriptions:

  • GET: The GET method is used to read (or retrieve) a representation of a resource.
  • POST: The POST method is most-often utilized to create new resources.
  • PUT: The PUT method most-often utilized for update capabilities.
  • PATCH: The PATCH is used for modify capabilities.
  • DELETE: The DELETE method is used to delete a resource identified by a URI.
19
Q

What is REST and SOAP web services?

A

REST:

It stands for “Representational State Transfer”. It is an Architectural style in which a web service can only be treated as a Restful service. It permits different data format such as Plain text, HTML, XML, JSON, etc.

SOAP:

It stands for “Simple Object Access Protocol”. It is a protocol. It is designed with a specification. It includes a WSDL file which has the required information on what the web service does in addition to the location of the web service.

20
Q

What are the different ESBs in the market?

A
  1. Talend
  2. Mule ESB
  3. JBoss Fuse ESB