Search in sources :

Example 1 with HttpProduceConnection

use of com.adaptris.http.legacy.HttpProduceConnection in project interlok by adaptris.

the class HttpConsumerTest method createProducer.

protected SimpleHttpProducer createProducer() {
    SimpleHttpProducer p = new SimpleHttpProducer();
    p.registerConnection(new HttpProduceConnection());
    p.setContentTypeKey("content.type");
    p.setIgnoreServerResponseCode(true);
    return p;
}
Also used : HttpProduceConnection(com.adaptris.http.legacy.HttpProduceConnection) SimpleHttpProducer(com.adaptris.http.legacy.SimpleHttpProducer)

Aggregations

HttpProduceConnection (com.adaptris.http.legacy.HttpProduceConnection)1 SimpleHttpProducer (com.adaptris.http.legacy.SimpleHttpProducer)1