use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class LifecycleStrategyFailOnStartupTest method createCamelContext.
protected CamelContext createCamelContext() throws Exception {
CamelContext context = new DefaultCamelContext(new JndiContext());
context.addLifecycleStrategy(dummy1);
return context;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class LifecycleStrategyServiceTest method createCamelContext.
protected CamelContext createCamelContext() throws Exception {
CamelContext context = new DefaultCamelContext(new JndiContext());
context.addLifecycleStrategy(dummy1);
return context;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class RoutingSlipDataModificationTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", myBean);
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanWithMethodHeaderTest method createJndiContext.
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
bean = new MyBean();
answer.bind("myBean", bean);
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanWithPropertiesAndHeadersAndBodyInjectionTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", myBean);
return answer;
}
Aggregations