Class QuartzResource
java.lang.Object
org.apache.camel.quarkus.component.quartz.it.QuartzResource
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) org.apache.camel.CamelContext(package private) org.apache.camel.ConsumerTemplate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.camel.component.quartz.QuartzComponentgetHeaders(String fromEndpoint) getMisfire(String fromEndpoint) getSchedulerNameAndResult(String componentName, String fromEndpoint) getSchedulerResult(String fromEndpoint)
-
Field Details
-
camelContext
@Inject org.apache.camel.CamelContext camelContext -
consumerTemplate
@Inject org.apache.camel.ConsumerTemplate consumerTemplate
-
-
Constructor Details
-
QuartzResource
public QuartzResource()
-
-
Method Details
-
createQuartzFromProperties
@Produces @Singleton @Named("quartzFromProperties") public org.apache.camel.component.quartz.QuartzComponent createQuartzFromProperties() -
getSchedulerNameAndResult
@Path("/getNameAndResult") @GET @Produces("application/json") public Map<String,String> getSchedulerNameAndResult(@QueryParam("componentName") String componentName, @QueryParam("fromEndpoint") String fromEndpoint) throws Exception - Throws:
Exception
-
getSchedulerResult
@Path("/get") @GET @Produces("text/plain") public String getSchedulerResult(@QueryParam("fromEndpoint") String fromEndpoint) throws Exception - Throws:
Exception
-
getHeaders
@Path("/getHeaders") @GET @Produces("application/json") public Map<String,String> getHeaders(@QueryParam("fromEndpoint") String fromEndpoint) throws Exception - Throws:
Exception
-
getMisfire
@Path("/getMisfire") @GET @Produces("application/json") public Map<String,String> getMisfire(@QueryParam("fromEndpoint") String fromEndpoint) throws Exception - Throws:
Exception
-