Class StreamResource


  • @Path("/stream")
    @ApplicationScoped
    public class StreamResource
    extends Object
    • Field Detail

      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
    • Constructor Detail

      • StreamResource

        public StreamResource()
    • Method Detail

      • greetingStream

        @Path("/post")
        @POST
        @Consumes("text/plain")
        @Produces("text/plain")
        public String greetingStream​(String message)
                              throws Exception
        Throws:
        Exception