org.apache.camel.service.lra.LRASagaServiceConfigurer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camel-lra Show documentation
Show all versions of camel-lra Show documentation
Camel saga binding for Long-Running-Action framework
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.service.lra;
import javax.annotation.processing.Generated;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.ConfigurerStrategy;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.util.CaseInsensitiveMap;
import org.apache.camel.service.lra.LRASagaService;
/**
* Generated by camel build tools - do NOT edit this file!
*/
@Generated("org.apache.camel.maven.packaging.GenerateConfigurerMojo")
@SuppressWarnings("unchecked")
public class LRASagaServiceConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {
@Override
public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
org.apache.camel.service.lra.LRASagaService target = (org.apache.camel.service.lra.LRASagaService) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "camelcontext":
case "camelContext": target.setCamelContext(property(camelContext, org.apache.camel.CamelContext.class, value)); return true;
case "coordinatorcontextpath":
case "coordinatorContextPath": target.setCoordinatorContextPath(property(camelContext, java.lang.String.class, value)); return true;
case "coordinatorurl":
case "coordinatorUrl": target.setCoordinatorUrl(property(camelContext, java.lang.String.class, value)); return true;
case "localparticipantcontextpath":
case "localParticipantContextPath": target.setLocalParticipantContextPath(property(camelContext, java.lang.String.class, value)); return true;
case "localparticipanturl":
case "localParticipantUrl": target.setLocalParticipantUrl(property(camelContext, java.lang.String.class, value)); return true;
default: return false;
}
}
@Override
public Class> getOptionType(String name, boolean ignoreCase) {
switch (ignoreCase ? name.toLowerCase() : name) {
case "camelcontext":
case "camelContext": return org.apache.camel.CamelContext.class;
case "coordinatorcontextpath":
case "coordinatorContextPath": return java.lang.String.class;
case "coordinatorurl":
case "coordinatorUrl": return java.lang.String.class;
case "localparticipantcontextpath":
case "localParticipantContextPath": return java.lang.String.class;
case "localparticipanturl":
case "localParticipantUrl": return java.lang.String.class;
default: return null;
}
}
@Override
public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
org.apache.camel.service.lra.LRASagaService target = (org.apache.camel.service.lra.LRASagaService) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "camelcontext":
case "camelContext": return target.getCamelContext();
case "coordinatorcontextpath":
case "coordinatorContextPath": return target.getCoordinatorContextPath();
case "coordinatorurl":
case "coordinatorUrl": return target.getCoordinatorUrl();
case "localparticipantcontextpath":
case "localParticipantContextPath": return target.getLocalParticipantContextPath();
case "localparticipanturl":
case "localParticipantUrl": return target.getLocalParticipantUrl();
default: return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy