001/* Generated by camel build tools - do NOT edit this file! */ 002package org.apache.camel.component.event; 003 004import org.apache.camel.CamelContext; 005import org.apache.camel.spi.GeneratedPropertyConfigurer; 006import org.apache.camel.support.component.PropertyConfigurerSupport; 007 008/** 009 * Generated by camel build tools - do NOT edit this file! 010 */ 011@SuppressWarnings("unchecked") 012public class EventEndpointConfigurer extends PropertyConfigurerSupport implements GeneratedPropertyConfigurer { 013 014 @Override 015 public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) { 016 EventEndpoint target = (EventEndpoint) obj; 017 switch (ignoreCase ? name.toLowerCase() : name) { 018 case "bridgeerrorhandler": 019 case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true; 020 case "exceptionhandler": 021 case "exceptionHandler": target.setExceptionHandler(property(camelContext, org.apache.camel.spi.ExceptionHandler.class, value)); return true; 022 case "exchangepattern": 023 case "exchangePattern": target.setExchangePattern(property(camelContext, org.apache.camel.ExchangePattern.class, value)); return true; 024 case "lazystartproducer": 025 case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true; 026 case "basicpropertybinding": 027 case "basicPropertyBinding": target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); return true; 028 case "synchronous": target.setSynchronous(property(camelContext, boolean.class, value)); return true; 029 default: return false; 030 } 031 } 032 033} 034