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
    • Constructor Detail

      • InfinispanResources

        public InfinispanResources()
    • Method Detail

      • get

        @Path("/get")
        @GET
        @Produces("text/plain")
        public String get()
      • put

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