use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class FtpConsumerIdempotentMemoryRefTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
repo = new MemoryIdempotentRepository();
repo.setCacheSize(5);
jndi.bind("myRepo", repo);
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class FtpConsumerIdempotentRefTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myRepo", new MyIdempotentRepository());
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class FromFtpSimulateNetworkIssueRecoverTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myPoll", new MyPollStrategy());
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class FtpConsumerMoveExpressionTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("myguidgenerator", new MyGuidGenerator());
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class BeanMethodValueWithExchangeTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
jndi.bind("foo", new MyBean());
return jndi;
}
Aggregations