java.lang.Object
org.apache.camel.quarkus.component.language.it.LanguageResource
@Path("/language")
@ApplicationScoped
public class LanguageResource
extends Object
-
Field Summary
Fields
(package private) org.apache.camel.ConsumerTemplate
(package private) org.apache.camel.ProducerTemplate
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
producerTemplate
@Inject
org.apache.camel.ProducerTemplate producerTemplate
-
consumerTemplate
@Inject
org.apache.camel.ConsumerTemplate consumerTemplate
-
Constructor Details
-
LanguageResource
public LanguageResource()
-
Method Details
-
route
@Path("/route/{route}")
@POST
@Consumes("text/plain")
@Produces("text/plain")
public String route(String body,
@PathParam("route")
String route)
-
routeFileScript
@Path("/route/languageFileScript")
@POST
@Consumes("text/plain")
@Produces("text/plain")
public String routeFileScript(String body)
-
routeSimpleHttp
@Path("/route/languageSimpleHttp")
@POST
@Consumes("text/plain")
@Produces("text/plain")
public String routeSimpleHttp(String body,
@QueryParam("baseUrl")
String baseUrl)
-
routeSimpleContentCache
@Path("/route/languageSimpleContentCache")
@POST
@Consumes("text/plain")
@Produces("text/plain")
public String routeSimpleContentCache(String body,
@QueryParam("baseUrl")
String baseUrl,
@QueryParam("contentCache")
String contentCache)