Back Forum Reply New

Any sample of partitioning through JMS ?

We are doing POC with the spring-batch-integration 1.2.0 but we do not have idea on how to make partitioning through JMS work.

From the unit test of spring-batch-integration, we can only find the case (VanillaIntegrationTests) without JMS.

Where can we find sample of partition throudh JMS ?

Thanks.

You should be able to just take VanillaIntegrationTests and hook the request and reply channels up to JMS queues.  There are some chunking integration tests that use JMS explicitly so you can see how that is done there.

In general though, I'm not sure JMS is really necessary for partitioning.  The only reason for using it would be for load balancing between the consumers, but there are loads of other ways of doing that (from, RMI, EJB - anything TCP-based can be balanced pretty easily).  Nevertheless I'd be interested to hear about your experience.
¥
Back Forum Reply New