Flowable 任务与 Http 任务
我想了解可流动任务和 http 任务之间的主要区别。为什么我们应该选择其中之一,什么时候使用 flowable 任务或 http 任务更好?
I want to understand the main difference between a flowable task and http task. Why should we prefer one over the other and when is it better to use flowable task or http task?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Flowable Task 到底是什么意思?如果您指的是服务任务,那么 Http 任务只是服务任务的扩展,它具有开箱即用的特定功能,可以轻松发送 HTTP 请求。您还可以通过对服务任务实施一些逻辑来实现这一点。唯一的区别是 Http 任务被指定用于发送 Http 请求,您可以简单地使用它并提供您想要调用的端点。
What exactly do you mean by Flowable Task? In case you mean the Service Task then the Http Task is just an extension of the Service task that has specific functionality provided out of the box to easily send HTTP requests. You can also achieve this by implementing some logic to a Service Task. The only difference is that the Http Task is specified for sending Http requests and you can simply use it and provide the endpoint you want to call.