nerdexam
MuleSoft

MCD-LEVEL-1 · Question #159

What is the difference between a subflow and a sync flow?

The correct answer is B. Subflow has no error handling of its own and sync flow does. Correct answer is Subflow has no error handling implementation where as sync flow has. A subflow processes messages synchronously (relative to the flow that triggered its execution) and always inherits both the processing strategy and exception strategy employed by the…

Building Integration Applications with Anypoint Studio

Question

What is the difference between a subflow and a sync flow?

Options

  • ANo difference
  • BSubflow has no error handling of its own and sync flow does
  • CSync flow has no error handling of its own and subflow does
  • DSubflow is synchronous and sync flow is asynchronous

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    89% (34)
  • C
    5% (2)
  • D
    3% (1)

Explanation

Correct answer is Subflow has no error handling implementation where as sync flow has. A subflow processes messages synchronously (relative to the flow that triggered its execution) and always inherits both the processing strategy and exception strategy employed by the triggering flow. While a subflow is running, processing on the triggering flow pauses, then resumes only after the subflow completes its processing and hands the message back to the triggering flow. Synchronous Flow A synchronous flow, like a subflow, processes messages synchronously (relative to the flow that triggered its execution). While a synchronous flow is running, processing on the triggering flow pauses, then resumes only after the synchronous flow completes its processing and hands the message back to the triggering flow. However, unlike a subflow, this type of flow does not inherit processing or exception strategies from the triggering flow. This type of flow processes messages along a single thread, which is ideally suited to transactional

Topics

#subflow#error handling#flow types#flow scope

Community Discussion

No community discussion yet for this question.

Full MCD-LEVEL-1 Practice