Module CamelJavaDSL

Provides classes and predicates for the Apache Camel Java DSL.

Apache Camel allows “routes” to be defined in Java, using a chained DSL syntax. For example:

public class MyRouteBuilder extends RouteBuilder {
  public void configure() {
    from("direct.start").bean(TargetBean.class);
  }
}

This creates a route to the TargetBean class for messages sent to “direct.start”.

Import path

semmle.code.java.frameworks.camel.CamelJavaDSL

Imports

Reflection

Provides classes and predicates for working with Java Reflection.

Spring
java

Provides all default Java QL imports.

Classes

CamelJavaDSLBeanDecl

A declaration of a “bean” target in the Apache Camel Java DSL.

CamelJavaDSLBeanRefDecl

A declaration of a “beanRef” target in the Apache Camel Java DSL.

CamelJavaDSLMethodDecl

A “method” Camel expression in the Apache Camel Java DSL.

CamelJavaDSLToDecl

A declaration of a “to” target in the Apache Camel Java DSL.

ProcessorDefinitionElement

A method call to a ProcessorDefinition element.