@Lazy @Bean(name = "dataformat-component") @ConditionalOnMissingBean(DataFormatComponent.class) public DataFormatComponent configureDataFormatComponent() throws Exception { DataFormatComponent component = new DataFormatComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "stub-component") @ConditionalOnMissingBean(StubComponent.class) public StubComponent configureStubComponent() throws Exception { StubComponent component = new StubComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "class-component") @ConditionalOnMissingBean(ClassComponent.class) public ClassComponent configureClassComponent() throws Exception { ClassComponent component = new ClassComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "rest-component") @ConditionalOnMissingBean(RestComponent.class) public RestComponent configureRestComponent() throws Exception { RestComponent component = new RestComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "test-component") @ConditionalOnMissingBean(TestComponent.class) public TestComponent configureTestComponent() throws Exception { TestComponent component = new TestComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "xslt-component") @ConditionalOnMissingBean(XsltComponent.class) public XsltComponent configureXsltComponent() throws Exception { XsltComponent component = new XsltComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "controlbus-component") @ConditionalOnMissingBean(ControlBusComponent.class) public ControlBusComponent configureControlBusComponent() throws Exception { ControlBusComponent component = new ControlBusComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "log-component") @ConditionalOnMissingBean(LogComponent.class) public LogComponent configureLogComponent() throws Exception { LogComponent component = new LogComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "vm-component") @ConditionalOnMissingBean(VmComponent.class) public VmComponent configureVmComponent() throws Exception { VmComponent component = new VmComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "properties-component") @ConditionalOnMissingBean(PropertiesComponent.class) public PropertiesComponent configurePropertiesComponent() throws Exception { PropertiesComponent component = new PropertiesComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "file-component") @ConditionalOnMissingBean(FileComponent.class) public FileComponent configureFileComponent() throws Exception { FileComponent component = new FileComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "mock-component") @ConditionalOnMissingBean(MockComponent.class) public MockComponent configureMockComponent() throws Exception { MockComponent component = new MockComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "saga-component") @ConditionalOnMissingBean(SagaComponent.class) public SagaComponent configureSagaComponent() throws Exception { SagaComponent component = new SagaComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "dataset-component") @ConditionalOnMissingBean(DataSetComponent.class) public DataSetComponent configureDataSetComponent() throws Exception { DataSetComponent component = new DataSetComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "seda-component") @ConditionalOnMissingBean(SedaComponent.class) public SedaComponent configureSedaComponent() throws Exception { SedaComponent component = new SedaComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "language-component") @ConditionalOnMissingBean(LanguageComponent.class) public LanguageComponent configureLanguageComponent() throws Exception { LanguageComponent component = new LanguageComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "binding-component") @ConditionalOnMissingBean(BindingNameComponent.class) public BindingNameComponent configureBindingNameComponent() throws Exception { component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "aws-mq-component") @ConditionalOnMissingBean(MQComponent.class) public MQComponent configureMQComponent() throws Exception { MQComponent component = new MQComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "aws-lambda-component") @ConditionalOnMissingBean(LambdaComponent.class) public LambdaComponent configureLambdaComponent() throws Exception { LambdaComponent component = new LambdaComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);
@Lazy @Bean(name = "geocoder-component") @ConditionalOnMissingBean(GeoCoderComponent.class) public GeoCoderComponent configureGeoCoderComponent() throws Exception { GeoCoderComponent component = new GeoCoderComponent(); component.setCamelContext(camelContext); Map<String, Object> parameters = new HashMap<>(); IntrospectionSupport.getProperties(configuration, parameters, null, false); for (Map.Entry<String, Object> entry : parameters.entrySet()) { "CAMEL_NESTED_CLASS").get(null); HashMap<String, Object> nestedParameters = new HashMap<>(); IntrospectionSupport.getProperties(value, nestedParameters, null, false); Object nestedProperty = nestedClass.newInstance(); CamelPropertiesHelper.setCamelProperties(camelContext, nestedProperty, nestedParameters, false); entry.setValue(nestedProperty); LOGGER.debug("Configure component {}, with customizer {}", component, customizer); customizer.customize(component);