Class InfinispanResources
- java.lang.Object
-
- org.apache.camel.quarkus.component.infinispan.InfinispanResources
-
@Path("/test") @ApplicationScoped public class InfinispanResources extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCACHE_NAME(package private) org.infinispan.client.hotrod.RemoteCacheManagercacheManager(package private) org.apache.camel.CamelContextcamelContext(package private) org.apache.camel.ProducerTemplatetemplate
-
Constructor Summary
Constructors Constructor Description InfinispanResources()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(String component)javax.json.JsonObjectinspectCamelInfinispanClientConfiguration()Stringput(String component, String content)voidsetUp()
-
-
-
Field Detail
-
CACHE_NAME
public static final String CACHE_NAME
- See Also:
- Constant Field Values
-
cacheManager
@Inject org.infinispan.client.hotrod.RemoteCacheManager cacheManager
-
template
@Inject org.apache.camel.ProducerTemplate template
-
camelContext
@Inject org.apache.camel.CamelContext camelContext
-
-
Method Detail
-
setUp
@PostConstruct public void setUp()
-
inspectCamelInfinispanClientConfiguration
@Path("/inspect") @GET @Produces("application/json") public javax.json.JsonObject inspectCamelInfinispanClientConfiguration()
-
get
@Path("/get") @GET @Produces("text/plain") public String get(@QueryParam("component") String component)
-
-