Search in sources :

Example 1 with RestNettyHttpBinding

use of org.apache.camel.component.netty.http.RestNettyHttpBinding in project camel by apache.

the class RestNettyHttpGetTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndi = super.createRegistry();
    jndi.bind("mybinding", new RestNettyHttpBinding());
    return jndi;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) RestNettyHttpBinding(org.apache.camel.component.netty.http.RestNettyHttpBinding)

Example 2 with RestNettyHttpBinding

use of org.apache.camel.component.netty.http.RestNettyHttpBinding in project camel by apache.

the class RestNettyHttpGetWildcardsTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndi = super.createRegistry();
    jndi.bind("mybinding", new RestNettyHttpBinding());
    return jndi;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) RestNettyHttpBinding(org.apache.camel.component.netty.http.RestNettyHttpBinding)

Aggregations

RestNettyHttpBinding (org.apache.camel.component.netty.http.RestNettyHttpBinding)2 JndiRegistry (org.apache.camel.impl.JndiRegistry)2