94.2. 定义端点 要使用 YAML DSL 定义端点,有两个选项: 使用经典 Camel URI: - from: uri: "timer:tick?period=1s" steps: - to: uri: "telegram:bots?authorizationToken=XXX" 使用 URI 和参数: - from: uri: "timer://tick" parameters: period: "1s" steps: - to: uri: "telegram:bots" parameters: authorizationToken: "XXX"前一个下一个