简体   繁体   中英

Can I use Spring Integration without Message Broker

I'm building a near real-time data management system and I found out that Spring Integration is exactly what I need to implement the whole data management life cycle in a distributed and scalable way. However, I'm wondering if there's a way to achieve it on different virtual machine without using a message broker (eg ActiveMQ, RabbitMQ)

I know that ZeroMQ should probably do the job but (at this time) it seems not to be officially supported by the Spring Integration project.

So, is there a way to distribute the project architecture over many servers using only Spring Integration (without message broker)?

Well, you can use built-in TCP/UDP support to start socket servers and clients for them: http://docs.spring.io/spring-integration/docs/4.3.6.RELEASE/reference/html/ip.html

There is a Zookeeper support as well: http://docs.spring.io/spring-integration/docs/4.3.6.RELEASE/reference/html/zookeeper.html

Also you can take a look to Spring Integration extension for Hazelcast: https://github.com/spring-projects/spring-integration-extensions/tree/master/spring-integration-hazelcast .

Also you always can distribute states via many other protocols: shared DB (Mongo, Redis, Gemfire etc..) or even just figure out something based on the shared file system on the FTP.

Yes, there is no ZeroMQ support yet: https://jira.spring.io/browse/INT-3045 . But Contribution is always welcome!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM