码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • mulesoft Module 10 quiz 解析


    mulesoft Module 10 quiz 解析

    • 概述(重中之重)
    • 1. How can an error scope be configured to catch all errors in the HTTP namespace?
    • 2. Refer to the exhibits. The main flow has an On Error Continue scope with type set to HTTP:NOT_FOUND. The Mule application configure globalErrorHandler as its default error handler.
    • 3. Refer to the exhibis. The main flow has an On Error Continue scope. In the Configuration global element, default error handler is set to globalErrorHandler.
    • 4. Refer to the exhibits. The main flow has an On Error Propagate scope. In the Configuration global element, default error handler is set to globalErrorHandler.
    • 5. Refer to the exhibits. The main flow has an On Error Continue scope and the private flow has an On Error Propagate scope.
    • 6. Refer to the exhibis. The private flow has an On Error Propagate scope. In the Configuration global element, default error handler is set to globalErrorHandler.

    在这里插入图片描述

    概述(重中之重)

    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

    这章的题是错的最多的一章,一定好好理解一下上面这段。


    1. How can an error scope be configured to catch all errors in the HTTP namespace?

    A Type:
    When:#[error.errorType.namespace==“HTTP”]

    B Type:HTTP
    WHEN:

    C Type:
    When:#[contains"HTTP"]

    D Type:HTTP*
    When:

    答案:A,类型应该是不受限制的


    2. Refer to the exhibits. The main flow has an On Error Continue scope with type set to HTTP:NOT_FOUND. The Mule application configure globalErrorHandler as its default error handler.

    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


    3. Refer to the exhibis. The main flow has an On Error Continue scope. In the Configuration global element, default error handler is set to globalErrorHandler.

    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


    4. Refer to the exhibits. The main flow has an On Error Propagate scope. In the Configuration global element, default error handler is set to globalErrorHandler.

    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


    5. Refer to the exhibits. The main flow has an On Error Continue scope and the private flow has an On Error Propagate scope.

    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


    6. Refer to the exhibis. The private flow has an On Error Propagate scope. In the Configuration global element, default error handler is set to globalErrorHandler.

    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

  • 相关阅读:
    计算机视觉+人工智能面试笔试总结——ONNX模型
    基于SpringBoot+Mybatis+Layui实现的简单就业管理系统
    行为型-命令模式
    SNMP报文与MIB Browser软件讲解
    Redis 哨兵集群工作原理
    SpringMVC实现表单文件的上传
    10 款超强大性能测试工具,你用过哪几款呢?
    编译openMVG出现的错误的解决
    蓝色对比关系图表合集PPT模板
    LVS,Nginx,Haproxy三种负载均衡产品的对比
  • 原文地址:https://blog.csdn.net/qq_41885819/article/details/127761253
  • 最新文章
  • 攻防演习之三天拿下官网站群
    数据安全治理学习——前期安全规划和安全管理体系建设
    企业安全 | 企业内一次钓鱼演练准备过程
    内网渗透测试 | Kerberos协议及其部分攻击手法
    0day的产生 | 不懂代码的"代码审计"
    安装scrcpy-client模块av模块异常,环境问题解决方案
    leetcode hot100【LeetCode 279. 完全平方数】java实现
    OpenWrt下安装Mosquitto
    AnatoMask论文汇总
    【AI日记】24.11.01 LangChain、openai api和github copilot
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1
正则表达式工具 cron表达式工具 密码生成工具

京公网安备 11010502049817号