use of org.apache.camel.component.urlrewrite.HttpUrlRewrite 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;
}
use of org.apache.camel.component.urlrewrite.HttpUrlRewrite in project camel by apache.
the class Http4UrlRewriteLoadBalanceFailoverTest 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.component.urlrewrite.HttpUrlRewrite in project camel by apache.
the class Http4UrlRewriteLoadBalanceRoundRobinTest 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.component.urlrewrite.HttpUrlRewrite in project camel by apache.
the class JettyUrlRewriteLoadBalanceFailoverTest 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.component.urlrewrite.HttpUrlRewrite in project camel by apache.
the class JettyUrlRewriteTest method createRegistry.
@Override
protected JndiRegistry createRegistry() throws Exception {
JndiRegistry jndi = super.createRegistry();
// START SNIPPET: e1
HttpUrlRewrite myRewrite = new HttpUrlRewrite();
myRewrite.setConfigFile("example/urlrewrite2.xml");
// END SNIPPET: e1
jndi.bind("myRewrite", myRewrite);
return jndi;
}
Aggregations