Spring Integration 作为独立 ESB 的嵌入式替代方案

发布于 2024-07-08 14:35:15 字数 389 浏览 7 评论 0原文

有人有使用 Spring Integration 项目作为嵌入式 ESB 的经验吗?

我对以下用例非常感兴趣:

  • 按计划从目录中读取文件
  • 从 JDBC 数据源获取数据
  • 模块化以及动态启动/停止/重新部署模块的可能性(例如,一个模块可以按计划扫描目录,另一个模块可以调用来自 jdbc 数据源的查询等)
  • 重复/重试策略

更新:

除了“从 JDBC 数据源获取数据”之外,我找到了所有问题的答案。 技术上可行吗?

Does anybody has an experience with Spring Integration project as embedded ESB?

I'm highly interesting in such use cases as:

  • Reading files from directory on schedule basis
  • Getting data from JDBC data source
  • Modularity and possibility to start/stop/redeploy module on the fly (e.g. one module can scan directory on schedule basis, another call query from jdbc data source etc.)
  • repeat/retry policy

UPDATE:

I found answers on all my questions except "Getting data from JDBC data source". Is it technically possible?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

装迷糊 2024-07-15 14:35:15

请记住,“ESB”只是一个营销术语,旨在销售更昂贵的软件,它不是灵丹妙药。 您需要考虑您需要软件执行的具体工作,并进行相应的选择。 如果 Spring Integration 似乎符合要求,那么我不会太担心它是否看起来不太像一个超级昂贵的服务器安装。

Remember, "ESB" is just a marketing term designed to sell more expensive software, it's not a magic bullet. You need to consider the specific jobs you need your software to do, and pick accordingly. If Spring Integration seems to fit the bill, I wouldn't be too concerned if it doesn't look much like an uber-expensive server installation.

完美的未来在梦里 2024-07-15 14:35:15

Spring Integration JDBC 适配器在 2.0 中可用,我们上周刚刚发布了 GA。 以下是参考手册中的相关部分: http:// /static.springsource.org/spring-integration/docs/latest-ga/reference/htmlsingle/#jdbc

The Spring Integration JDBC adapters are available in 2.0, and we just released GA last week. Here's the relevant section from the reference manual: http://static.springsource.org/spring-integration/docs/latest-ga/reference/htmlsingle/#jdbc

因为看清所以看轻 2024-07-15 14:35:15

此链接描述了 FileSucker 与 Spring 集成。 我认为,请阅读您的企业集成模式以获取更多信息。

我觉得你需要自己做更多的调查,或者对你的一些用例进行几次尝试。 然后我们可以讨论什么是好什么是坏

This link describes the FileSucker with Spring Integration. Read up on your Enterprise Integration patterns for more info I think.

I kinda think you need to do a bit more investigation your self, or do a couple of tries on some of your usecases. Then we can discuss whats good and bad

说好的呢 2024-07-15 14:35:15

JDBC 适配器似乎是一个正在进行中的工作

即使没有可用的特定适配器,请记住 Spring Integration 是 POJO 的薄包装器。 您将能够在任何组件(例如服务激活器)中访问 JDBC。

请参阅此处,了解基于轮询入站通道适配器的解决方案。

JDBC Adapters appear to be a work in progress.

Even if there is no specific adapter available, remember that Spring Integration is a thin wrapper around POJOs. You'll be able to access JDBC in any component e.g. your service activators.

See here for a solution based on a polling inbound channel adapter too.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文