WSO2 Micro Integrator 中没有 MailTransportSender?

No MailTransportSender in WSO2 Micro Integrator?

我正在使用 Micro Integrator,它在 运行 时间在最新的 Integration studio 中可用。当我检查 axis2.xml 文件以配置 MailTransportSender 以发送电子邮件通知时,我没有看到这些属性。

我尝试从 ESB 配置文件中复制它们并尝试在 Micro Integrator 中使用。一旦我启动服务器,属性就会从 Micro Integrator 的 axis2.xml 文件中消失。

我该如何解决?

它应该可以在 Micro Integrator 中使用。但是添加它们的方式不同。 Micro Integrator 附带新的部署 toml 文件,您必须在其中编辑所有配置,这将在启动时覆盖配置文件(也是 axis2 )。请参阅文档 https://ei.docs.wso2.com/en/latest/micro-integrator/setup/transport_configurations/configuring-transports/#configuring-the-mailto-transport 了解更多详情。

谢谢! 硝噻泮