【问题标题】:Mule ESB : Error in Exporting and Importing the project in Mule studioMule ESB:在 Mule studio 中导出和导入项目时出错
【发布时间】:2013-10-18 12:55:26
【问题描述】:

请帮助我。我已经开发了一个包含参考文件和其他消息处理器的流程。我已将“wsdl”与其他 xsd 一起放在 src/main/resources 中。我还使用了“XSLT 转换器消息属性转换器Datamapper " 。由于某种原因,我已导出项目并删除了工作区。
我再次在新工作空间中导入了项目。我可以在项目中看到错误,其中 wsdl 文件 丢失。 XSLT 转换器中的脚本也丢失了 Message Property 转换器中添加的属性也不存在。在 DataMapper 中缺少完整的配置。 导出的项目-> 导出-> Mule-> Mule Studio 项目到 Mule 可部署存档-> Zipfile(本地路径位置) 导入的项目 -> 工作区中的现有项目 -> 选择归档文件 -> 本地 zip 文件路径位置

请建议我导入和导出的步骤是一个问题或其他任何问题。 我必须编写脚本并从头开始添加许多属性。请帮助我。导入后我的 xml 配置(例如:给定一个流程)

     <sub-flow name="Common_ErrorHandling_SubFlow" doc:name="Common_ErrorHandling_SubFlow">
    <tracking:custom-event event-name="CommonErrorHandling_Log_Exception_Events" doc:name="Log_Exception_Events">
        <tracking:meta-data key="ExceptionCause" value="#[exception.causeException]"/>
        <tracking:meta-data key="ExceptionSummary" value="#[exception.summaryMessage]"/>
    </tracking:custom-event>
    <message-properties-transformer doc:name="Catch_Exception">
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
        <add-message-property key="" value=""/>
    </message-properties-transformer>
    <mulexml:object-to-xml-transformer doc:name="Object to XML"/>
    <mulexml:xslt-transformer maxIdleTransformers="2" maxActiveTransformers="5" doc:name="Generate_ErrorXmlStructure">
        <mulexml:xslt-text></mulexml:xslt-text>
    </mulexml:xslt-transformer>
    <wmq:outbound-endpoint queue="ERRORQ" connector-ref="WMQ_Connector" doc:name="ERRORQ"/>
</sub-flow>  

我使用的是 3.4 版。请给我建议。

【问题讨论】:

    标签: mule mule-studio mule-el


    【解决方案1】:

    如果您像下面的过程一样导入,它将起作用。

    File->Import->Mule->Anypoint Studio Generated Deployable Archive (.zip)->选择要解压的 .zip 文件

    【讨论】:

      【解决方案2】:

      您提供的导出步骤看起来不错。由于 .zip 文件是为导出创建的,因此它是正确的。

      我猜这里的问题在于它的导入方式。

      在 Mule Studio 中使用以下导入方向导入已导出的项目(在 .zip 文件中)。

      Import  ->  Mule  -> Mule Studio generated Deployable Archive (.zip) -> Select ZIP file from the local path
      

      这应该可行。

      希望这会有所帮助。

      【讨论】:

        【解决方案3】:

        查看link atMuleSoft。

        您可以创建一个可部署的存档 (.zip) 并按照此链接中的建议将其导出。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2014-02-21
          • 2013-11-07
          • 2013-01-16
          • 1970-01-01
          • 2020-05-13
          相关资源
          最近更新 更多