Search in sources :

Example 6 with ExchangeCookieHandler

use of org.apache.camel.http.common.cookie.ExchangeCookieHandler in project camel by apache.

the class HttpProducerSessionTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndiRegistry = super.createRegistry();
    jndiRegistry.bind("instanceCookieHandler", new InstanceCookieHandler());
    jndiRegistry.bind("exchangeCookieHandler", new ExchangeCookieHandler());
    return jndiRegistry;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) ExchangeCookieHandler(org.apache.camel.http.common.cookie.ExchangeCookieHandler) InstanceCookieHandler(org.apache.camel.http.common.cookie.InstanceCookieHandler)

Example 7 with ExchangeCookieHandler

use of org.apache.camel.http.common.cookie.ExchangeCookieHandler in project camel by apache.

the class HttpProducerSessionTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndiRegistry = super.createRegistry();
    jndiRegistry.bind("instanceCookieHandler", new InstanceCookieHandler());
    jndiRegistry.bind("exchangeCookieHandler", new ExchangeCookieHandler());
    jndiRegistry.bind("noopCookieStore", new NoopCookieStore());
    return jndiRegistry;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) ExchangeCookieHandler(org.apache.camel.http.common.cookie.ExchangeCookieHandler) InstanceCookieHandler(org.apache.camel.http.common.cookie.InstanceCookieHandler)

Example 8 with ExchangeCookieHandler

use of org.apache.camel.http.common.cookie.ExchangeCookieHandler in project camel by apache.

the class CxfProducerSessionTest method createRegistry.

@Override
protected JndiRegistry createRegistry() throws Exception {
    JndiRegistry jndiRegistry = super.createRegistry();
    jndiRegistry.bind("instanceCookieHandler", new InstanceCookieHandler());
    jndiRegistry.bind("exchangeCookieHandler", new ExchangeCookieHandler());
    return jndiRegistry;
}
Also used : JndiRegistry(org.apache.camel.impl.JndiRegistry) ExchangeCookieHandler(org.apache.camel.http.common.cookie.ExchangeCookieHandler) InstanceCookieHandler(org.apache.camel.http.common.cookie.InstanceCookieHandler)

Aggregations

ExchangeCookieHandler (org.apache.camel.http.common.cookie.ExchangeCookieHandler)8 InstanceCookieHandler (org.apache.camel.http.common.cookie.InstanceCookieHandler)8 JndiRegistry (org.apache.camel.impl.JndiRegistry)8