09_ControlFlow Flashcards

1
Q

What is a router?

A

they send events t oone or more gorups of event processors (routes)

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

What does the Choice router do?

A

1 route executed based on conditional logic

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

What does the First Succesful router do?

A

routes executed sequentially until one is succesfully executed

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

What does the Scatter-Gather router do?

A

All routes execute concurrently.

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

What does the Round Robin router do?

A

one route executed, which one is selected by iteration through a list maintained across executions

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

Where does the event get sent with a scatter-gather router?

A

to every route concurrently (same time)

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

What does the scatter-gather return?

A

Collection of objects (object of objects). Each object contains attributes and payload from each Mule event returned from a flow.

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

Which router sends the event to one route based on conditional logic?

A

Choice router

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

How are the conditions written for the Choice router?

A

DataWeave.

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

What are validators?

A

Provide a way to test some conditions are met and throw an error if validation fails.

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

After a scatter-gather what would you use to flattern the data?

A

DataWeave to flattern the collection (as an object of object is returned)

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

What should you use to specify whether an event can proceed in a flow?

A

Validation

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