Search in sources :

Example 1 with Pojo

use of org.apache.camel.itest.Pojo in project camel by apache.

the class MyConverter method toPojo.

@Converter
public static Pojo toPojo(String name) {
    Pojo pojo = new Pojo();
    pojo.setName(name);
    return pojo;
}
Also used : Pojo(org.apache.camel.itest.Pojo) Converter(org.apache.camel.Converter)

Aggregations

Converter (org.apache.camel.Converter)1 Pojo (org.apache.camel.itest.Pojo)1