use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanWithHeadersAndBodyInjectionTest 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 BeanPipelineTest method createJndiContext.
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("foo", new FooBean());
answer.bind("bar", new BarBean());
answer.bind("baz", new BazBean());
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanWithExchangeExceptionAnnotationTest method createJndiContext.
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 BeanWithHeadersAndBodyInject2Test 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 BeanReturnCallableReturnNullTest method createJndiContext.
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", new MyBean());
return answer;
}
Aggregations