07_StructureApps Flashcards
Where does the config.yaml file go?
src/main/resources
What can’t have their own error handling strategy?
subflows
What are flows calles that do not have event sources?
Private Flows
How are subflows executed?
As if the processors were still in the calling flow. (Basically as if the processors are in the flow, so it goes in at the start and comes out at the end, they are called via flow reference).
How are subflows called?
Flow reference
What is the purpose of the Flow Reference component?
To pass events to other flows and subflows
Variables persist through all flows unless … ?
the event crosses a transport boundary
When using Flow Reference are events passed asynchronously or synchronously?
Synchronously
What connector can you use to pass events asychnronoulsy between flows?
VM Connector.
What 2 things can queues be?
Transient and Persistent
Explain transient queues?
They are faster than persistent queues, but are lost in the case of a system crash.
Explain persistent queues?
Slower but reliable.
Why do we want to separate apps into multiple configuration files?
Monolithic files are difficult to read and maintain. It’ll be easier to read/work with/test and again, more maintainable.
How should you refer to global elements?
Put them all in one config file, so that all the other files reference them and if a gloval element is specific to and only used in one file then it makes sense to keep it in that file.
A global element is specific to and only used in file A. Should it be kept in that file or in the global config file?
The file.
Do you want all your flows to be in 1 application/project?
No.