INT-3430 AMQP Outbound: Add Eager Connect

JIRA: https://jira.spring.io/browse/INT-3430

Add an option to eagerly connect to rabbit when
only using outbound endpoints. Log an ERROR
if the connection can not be established during
context initialization.

Polishing
This commit is contained in:
Gary Russell
2014-06-17 12:31:10 -04:00
committed by Artem Bilan
parent cf94a109b4
commit 1df6d872fa
11 changed files with 140 additions and 9 deletions

View File

@@ -192,6 +192,13 @@ public abstract class IntegrationObjectSupport implements BeanNameAware, NamedCo
return this.applicationContext == null ? null : this.applicationContext.getId();
}
/**
* @return the applicationContext
*/
protected ApplicationContext getApplicationContext() {
return applicationContext;
}
/**
* @see IntegrationContextUtils#getIntegrationProperties(BeanFactory)
* @return The global integration properties.