简体   繁体   English

如何在Mule ESB CE中暂停SFTP连接器

[英]How to pause SFTP Connector in Mule ESB CE

I need to pause a SFTP Connector from polling and then restart it after a specified interval, in Mule ESB CE 3.2.1. 我需要暂停SFTP连接器的轮询,然后在Mule ESB CE 3.2.1中指定的时间间隔后重新启动它。

Do you know if it's possible, by using Mule's API if necessary? 您是否知道是否有可能,必要时通过使用Mule的API?

And, if it was possible, how could I disconnect and reconnect an SFTP client? 而且,如果可能的话,如何断开并重新连接SFTP客户端?

Thanks in advance, 提前致谢,

Gabriele 加布里埃

I suggest you first try to practice pausing/stopping/starting through JMX , in order to determine exactly what Mule component you want to interact with (the SFTP connector? the flow that uses the connector? just the SFTP inbound endpoint?). 我建议您首先尝试通过JMX进行暂停/停止/启动操作,以便确切确定要与之交互的Mule组件(SFTP连接器,使用该连接器的流程还是SFTP入站端点?)。

When you have decided exactly what it is you want to do, you can then either do it: 确切确定要执行的操作后,您可以执行以下操作:

  • Through JMX calls in the JVM directly on the Mule MBeans, 通过直接在Mule MBean上的JVM中进行JMX调用,
  • Through Mule API calls starting by locating the target components in the registry . 通过Mule API调用,首先在注册表中找到目标组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Mule Esb CE sftp出站终结点调用表单代码(自定义Java转换器) - Mule Esb CE sftp outbound endpoint invoke form code (custom java transformer) 如何使用Mule SFTP连接器修改文件/创建日期? - How do I get file modified / creation date using Mule SFTP connector? 如何确定文件是否已通过Mule中的自定义SFTP连接器完成下载? - How can I determine if a file has completed downloading via a custom SFTP connector in Mule? 在Mule SFTP文件连接器中使用属性文件中的正则表达式 - Using a regex expression from property file in a Mule SFTP file connector 使用Mule sftp连接器从csv中删除了CR - CR removed from csv using mule sftp connector 如何覆盖mule SFTP端点的默认行为? - How to override default behavior of mule SFTP endpoint? Mule SFTP:如何在远程位置创建目录 - Mule SFTP : How to create directories on remote location 如何在Mule单元测试中伪造SFTP服务器? - How to fake SFTP server on Mule unit test? 密码“ aes256-cbc”是必需的,但它不可用。 Mule SFTP连接器出现错误 - The cipher 'aes256-cbc' is required, but it is not available. error with Mule SFTP connector 处理20K文件后,Mule sftp入站连接器停止轮询文件 - Mule sftp inbound connector stopped polling files after processing 20K files
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM