SpringSource/spring-integration — pull request #250 by garyrussell (2011-12-17 03:18:57+00:00)
Title: INT-2313 Avoid Naming Conflicts With Mutliple Ctx

If multiple application contexts exist in the same JVM, where
managed beans exist with the same name, InstanceAlreadyExistsExceptions
could result.

1. Change int-jmx MBean exporter parser to ensure the exporter itself
has a unique name within the JVM.
2. When the IMBE exports Integration components for monitoring, where
the component itself is already an MBean, add domain and object name
static properties configured in the MBean exporter.
3. Add tests to load the same ac a second time to ensure no naming
conflicts arise.

Builds on @olegz PR https://github.com/SpringSource/spring-integration/pull/247