Updating state in a route.

2014-03-18 Thread Corey Nolet
I am working on a throttling system for my ingest that will check to see if my upstream JMS broker is backed up to a particular threshold and, if it is backed up, begin to route messages to disk instead of sending them to the database. I'm wondering the best way to implement this using the correct

Re: Updating state in a route.

2014-03-19 Thread Raul Kripalani
Sounds reasonable to me. To prepare the system for HA, you can broadcast the state on a JMS topic to which all nodes subscribe to. Contrary to making the route itself check every two minutes, this method allows you to run the checking logic in a single place inside the cluster, in an HA scenario. T