Class CamelResource
- java.lang.Object
-
- org.apache.camel.quarkus.component.jdbc.CamelResource
-
@Path("/test") @ApplicationScoped public class CamelResource extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) io.agroal.api.AgroalDataSourcedataSource(package private) org.apache.camel.ProducerTemplatetemplate
-
Constructor Summary
Constructors Constructor Description CamelResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringexecuteStatement(String statement)StringgetSpeciesById(String id)StringgetSpeciesByIdWithDefinedType(String id)StringgetSpeciesByIdWithSelectList(String id)(package private) voidpostConstruct()
-
-
-
Method Detail
-
postConstruct
@PostConstruct void postConstruct() throws SQLException
- Throws:
SQLException
-
getSpeciesById
@Path("/species/{id}") @GET @Produces("text/plain") public String getSpeciesById(@PathParam("id") String id) throws Exception- Throws:
Exception
-
getSpeciesByIdWithSelectList
@Path("/species/{id}/list") @GET @Produces("text/plain") public String getSpeciesByIdWithSelectList(@PathParam("id") String id) throws Exception- Throws:
Exception
-
getSpeciesByIdWithDefinedType
@Path("/species/{id}/type") @GET @Produces("text/plain") public String getSpeciesByIdWithDefinedType(@PathParam("id") String id) throws Exception- Throws:
Exception
-
-