An error is handled by the first error scope with a matching condition
- On Error Propagate rethrows the error up the execution chain
- On Error Continue handles the error and then continues execution of the parent flow
这章的题是错的最多的一章,一定好好理解一下上面这段。
A Type:
When:#[error.errorType.namespace==“HTTP”]
B Type:HTTP
WHEN:
C Type:
When:#[contains"HTTP"]
D Type:HTTP*
When:
答案:A,类型应该是不受限制的
A web client posts a request to the HTTP Listener.The Transform Message component then throws a MULE:EXPRESSION error trying to convert the payload to application/xml.
What response message is returned to the web client?
A “HTTP:NOT_FOUND error”
B “Global Error Handler”
C “MAIN”
D The MULE:EXPRESSION error’s message
答案:D
A web client makes an HTTP GET request to the flow’s HTTP Listener. The Is number validator then throws an error with message “Validate - Payload is an Integer”.
What response message is returned to the web client?
A Success - End main flow
B Error - main flow
C Global Error Handler
D Validate - Payload is an Integer
E Success - Begin main flow
答案:B
A web client makes an HTTP GET request to the flow’s HTTP Listener. The Is number validator then throws an error with message “Validate - Payload is an Integer”.
What response message is returned to the web client?
A Success - Begin main flow
B Error - main flow
C Validate - Payload is an Integer
D Success - End main flow
E Global Error Handler
答案:C
A web client makes an HTTP GET request to the HTTP Listener. The Is number validator in the private flow then throws an error with message “Validate - Payload is an Integer”
What response message is returned to the web client?
A Error - main flow
B Success - private flow
C Validate - Payload is Integer
D Success - main flow
E Error - private flow
答案:A
A web client makes an HTTP GET request to the flow’s HTTP Listener. The Is number validator in the private flow then throws an error with message “Validata - Payload is an Integer”.
What response message is returned to the web client?
A globalErrorHandler
B Success - mainFlow
C Error - privateFlow
D Error - privateFlow
答案:A