use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class HttpUrlRewriteLoadBalanceFailoverTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
HttpUrlRewrite myRewrite = new HttpUrlRewrite();
myRewrite.setConfigFile("example/urlrewrite2.xml");
jndi.bind("myRewrite", myRewrite);
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class HttpUrlRewriteLoadBalanceRoundRobinTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
HttpUrlRewrite myRewrite = new HttpUrlRewrite();
myRewrite.setConfigFile("example/urlrewrite2.xml");
jndi.bind("myRewrite", myRewrite);
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class HttpUrlRewriteModFileTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
HttpUrlRewrite myRewrite = new HttpUrlRewrite();
myRewrite.setModRewriteConfFile("example/modrewrite.cfg");
jndi.bind("myRewrite", myRewrite);
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class HttpUrlRewritePingQueryTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
HttpUrlRewrite myRewrite = new HttpUrlRewrite();
myRewrite.setConfigFile("example/urlrewrite-ping.xml");
myRewrite.setUseQueryString(true);
jndi.bind("myRewrite", myRewrite);
return jndi;
}
use of org.apache.camel.impl.JndiRegistry in project camel by apache.
the class HttpUrlRewriteTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
HttpUrlRewrite myRewrite = new HttpUrlRewrite();
myRewrite.setConfigFile("example/urlrewrite2.xml");
jndi.bind("myRewrite", myRewrite);
return jndi;
}
Aggregations