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;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanWithAttachmentAnnotationTest method createJndiContext.
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("processorOld", new AttachmentProcessorOld());
answer.bind("processor", new AttachmentProcessor());
return answer;
}
use of org.apache.camel.util.jndi.JndiContext in project camel by apache.
the class BeanWithExpressionInjectionPredicateTest 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 BeanWithExpressionInjectionTest method createJndiContext.
@Override
protected Context createJndiContext() throws Exception {
JndiContext answer = new JndiContext();
answer.bind("myBean", myBean);
return answer;
}
Aggregations