use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class SelectCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
configuration.setConsistentRead(Boolean.TRUE);
exchange = new DefaultExchange(new DefaultCamelContext());
command = new SelectCommand(sdbClient, configuration, exchange);
}
use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class BatchPutAttributesCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new BatchPutAttributesCommand(sdbClient, configuration, exchange);
}
use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class DeleteDomainCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new DeleteDomainCommand(sdbClient, configuration, exchange);
}
use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class DomainMetadataCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
exchange = new DefaultExchange(new DefaultCamelContext());
command = new DomainMetadataCommand(sdbClient, configuration, exchange);
}
use of org.apache.camel.impl.DefaultCamelContext in project camel by apache.
the class ListDomainsCommandTest method setUp.
@Before
public void setUp() {
sdbClient = new AmazonSDBClientMock();
configuration = new SdbConfiguration();
configuration.setDomainName("DOMAIN1");
configuration.setMaxNumberOfDomains(new Integer(5));
exchange = new DefaultExchange(new DefaultCamelContext());
command = new ListDomainsCommand(sdbClient, configuration, exchange);
}
Aggregations