@Configuration @EnableConfigurationProperties(value=RubyLanguageConfiguration.class) @Conditional(value=RubyLanguageAutoConfiguration.Condition.class) public class RubyLanguageAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RubyLanguageAutoConfiguration.Condition |
Constructor and Description |
---|
RubyLanguageAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.builder.script.RubyLanguage |
configureRubyLanguage(org.apache.camel.CamelContext camelContext,
RubyLanguageConfiguration configuration) |
@Bean(name="ruby-language") @Scope(value="prototype") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.builder.script.RubyLanguage.class) public org.apache.camel.builder.script.RubyLanguage configureRubyLanguage(org.apache.camel.CamelContext camelContext, RubyLanguageConfiguration configuration) throws Exception
Exception
Apache Camel