I am not familiar with the Spring integration, but on the command line there is a status command that returns the number of changesets that need to be run.
↧