How to leverage Spring Integration in a real-world JMS distributed architecture?

Posted by ngeek on Stack Overflow See other posts from Stack Overflow or by ngeek
Published on 2010-06-10T08:30:44Z Indexed on 2010/06/10 8:42 UTC
Read the original article Hit count: 262

Filed under:
|
|
|
|

For the following scenario I am looking for your advices and tips on best practices:

In a distributed (mainly Java-based) system with:

  • many (different) client applications (web-app, command-line tools, REST API)
  • a central JMS message broker (currently in favor of using ActiveMQ)
  • multiple stand-alone processing nodes (running on multiple remote machines, computing expensive operations of different types as specified by the JMS message payload)

How would one best apply the JMS support provided by the Spring Integration framework to decouple the clients from the worker nodes? When reading through the reference documentation and some very first experiments it looks like the configuration of an JMS inbound adapter inherently require to use a subscriber, which in a decoupled scenario does not exist.

Small side note: communication should happen via JMS text messages (using a JSON data structure for future extensibility).

© Stack Overflow or respective owner

Related posts about java

Related posts about design