rattek
rattek

Reputation: 1670

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 (e.g. 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)?

Upvotes: 2

Views: 836

Answers (1)

Artem Bilan
Artem Bilan

Reputation: 121507

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!

Upvotes: 1

Related Questions