04_BuildAPIs Flashcards
Where can you build MuleSoft applications?
Anypoint Studio (and Flow Designer in Design Center)
What is a Mule event source?
Initiates the execution of the flow.
What transform, filter, enrich and process the event and its message?
Mule event processors.
What initiates the execution of the flow?
Mule event source.
What components make up the Mule message?
Attributes and Payload.
What are the 4 components that make up a Mule event?
Message, Attributes, Payload, Variables.
What is the Mule message?
Contains both the attributes and the payload. It is the data that passes through the flow of the app.
What are the attributes of a Mule event?
Metadata contained in the message header.
What is the payload of a Mule event?
The core infor of the message - the data that the app processes.
What are the variables of a Mule event?
Metadata for the Mule event which can be defined and reference in the app processing the event.
What is the Mule palette?
It can be found on the right hand side of Anypoint Studio, it is where you access the connectors. You may need to search in the Exchange to add the modules with the necessary connectors.
What is the Package Explorer?
It can be found on the left hand side of Anypoint Studio, it is where all the files/folders can be found.
What modules are (by default) within the Mule Palette?
Sockets and HTTP modules.
Anypoint Studio comes with an embedded ????????, to test application without leaving it?
Mule runtime.
What is used to automate the testing of Mule applications?
MUnit.
Explain Global configuration elements?
The configuration can be encapsulated in a separate global element (a resusable config that can be used by many operations, defines a connection to a network resource).
A connector configuration is sometimes referred to as ?
the connector
What component should be used to transform data?
Transform Message
How many listeners will a RESTful interface have?
1 for each resource/method pair.
How can you create the RESTful interface?
Either by manually or generate it from the API definition
What plug in can generate an interface automatically from a RAML API definition?
APIKit plugin.
How many flows does the APIKit plug in create, when creating the RESTful interface from a RAML file?
One for each of the API resource/method pairs.
What is the Flow Reference component?
You can use this to call other flows.
What is a benefit of breaking a flow into multiple flows?
Promotes code reuse. Makes graphical view more intuitive and the XML code easier to read.
How are flows identified?
By name
What should you use as an inbound endpoint to trigger a flow with an HTTP request?
HTTP Listener.
What event processor should be used to set payload?
Set Payload.
What connector should be used to connect to JSBC databases?
Database connector
What component should be used to transform messages from one data type and structure to another?
Transform Message.
How can you pass messages to other flows?
Flow Reference.