Class InfinispanResources


  • @Path("/test")
    @ApplicationScoped
    public class InfinispanResources
    extends Object
    • Field Detail

      • cacheManager

        @Inject
        org.infinispan.client.hotrod.RemoteCacheManager cacheManager
      • template

        @Inject
        org.apache.camel.ProducerTemplate template
      • camelContext

        @Inject
        org.apache.camel.CamelContext camelContext
    • Constructor Detail

      • InfinispanResources

        public InfinispanResources()
    • 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)
      • put

        @Path("/put")
        @POST
        @Produces("text/plain")
        public String put​(@QueryParam("component")
                          String component,
                          String content)