SpringSource/spring-integration — pull request #437 by dturanski (2012-05-14 17:49:15+00:00)
Title: INT-2550,INT-2552:added properties regionName and region to GemfireMessageStore

The regionName may be set (INT-2550)
A configured region may be injected. In this case, the GMS will use that instead of creating a message store region. This resolves INT-2552).

Region name and region are mutually exclusive. This is checked during initialization and described in javadoc.

Also added a default constructor as injecting a cache is not required if a region is injected. These are not considered mutually exclusive because it is not ambiguous (since the cache is a true singleton, there is no opportunity to pass a different instance in the region and the GMS). If the region and cache or both provided, the cache is simply ignored.