use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class TimerRouteTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", bean);
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class MultipleLifecycleStrategyTest method createCamelContext.
protected CamelContext createCamelContext() throws Exception {
CamelContext context = new DefaultCamelContext(new JndiContext());
context.addLifecycleStrategy(dummy1);
context.addLifecycleStrategy(dummy2);
return context;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanRecipientListInterfaceAnnotationTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", new MyBean());
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanRecipientListTimeoutTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", new MyBean());
answer.bind("myStrategy", new MyAggregationStrategy());
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class NormalizerTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("normalizer", new MyNormalizer());
return answer;
}
Aggregations