@Path(value="/leveldb") @ApplicationScoped public class LeveldbResource extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.camel.CamelContext |
context |
static String |
MOCKS_DELIMITER |
static String |
PARAMETER_BODY |
static String |
PARAMETER_FROM_ENDPOINT |
(package private) org.apache.camel.ProducerTemplate |
producerTemplate |
| Constructor and Description |
|---|
LeveldbResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
aggregateBinaryTest(String[] messages) |
javax.ws.rs.core.Response |
aggregateTest(List<String> messages,
String path,
String mockNames) |
public static String PARAMETER_BODY
public static String PARAMETER_FROM_ENDPOINT
public static String MOCKS_DELIMITER
@Inject org.apache.camel.ProducerTemplate producerTemplate
@Inject org.apache.camel.CamelContext context
@Path(value="/aggregate") @POST @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response aggregateTest(List<String> messages, @QueryParam(value="path") String path, @DefaultValue(value="mock:result") @QueryParam(value="mocks") String mockNames) throws Exception
ExceptionCopyright © 2019–2020 The Apache Software Foundation. All rights reserved.