@Generated(value="org.apache.camel.maven.packaging.SpringBootAutoConfigurationMojo") @Configuration @ConditionalOnBean(type="org.apache.camel.spring.boot.CamelAutoConfiguration") @EnableConfigurationProperties(value=MailComponentConfiguration.class) public class MailComponentAutoConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MailComponentAutoConfiguration.Condition |
| Constructor and Description |
|---|
MailComponentAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.component.mail.MailComponent |
configureMailComponent(org.apache.camel.CamelContext camelContext,
MailComponentConfiguration configuration) |
@Lazy
@Bean(name={"imap-component","imaps-component","pop3-component","pop3s-component","smtp-component","smtps-component"})
@ConditionalOnClass(value=org.apache.camel.CamelContext.class)
@ConditionalOnMissingBean(value=org.apache.camel.component.mail.MailComponent.class)
public org.apache.camel.component.mail.MailComponent configureMailComponent(org.apache.camel.CamelContext camelContext,
MailComponentConfiguration configuration)
throws Exception
ExceptionApache Camel