Jan 3rd, 2011, 05:27 AM
Running inbound channel adapters on HA-cluster architecture
Hi Spring Integration users, experts,
I'm facing the following issue. My web-app runs on the HA-singleton configuration which is one active server and one backup server that is used in case of failure. When app is deployed to the regular - active server it is deployed to the backup one as well. Keeping this in mind all inbound channel adapters are started on both app server instances which causes strange app behavior (some resources are locked, stale data is transfered between channels etc.).
The temp solution that comes to my mind is to set the auto-startup parameter for all inbound channels to false and enable it only on the active server instance. The question is is this possible to change it somehow during app runtime? Any ideas on how to tackle this?
Any other ideas?
Your help is really appreciated.
Wish you all the best for 2011.
Tags for this Thread