Quantcast

Getting StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Getting StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html

santoshkeleti
Please Help me i am configuring Rest endpoint using jetty component but iam getting following error. i am not uderstanding what it is.

StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/camel/SSLContextParametersAware
        at java.lang.ClassLoader.defineClass1(Native Method)


And following is my code.
restConfiguration().component("jetty")
            .bindingMode(RestBindingMode.json)
            .port(8097);
                       
                        rest("/cbs") .consumes("application/json")
                        .produces("application/json").post("/withdraw")
                        .type(Test.class).to("bean:CBSTransactionService?method=handleTransactions");


i have added jetty dependency 2.19 version. please help me.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html

Zoran Regvart-2
Hi Santosh,
please seek support from the Camel User mailing list/forum:

https://camel.apache.org/mailing-lists.html

this list is for contributors that develop Camel,

zoran

On Thu, May 18, 2017 at 6:26 AM, santoshkeleti
<[hidden email]> wrote:

> Please Help me i am configuring Rest endpoint using jetty component but iam
> getting following error. i am not uderstanding what it is.
>
> StreamCaching is not in use. If using streams then its recommended to enable
> stream caching. See more details at
> http://camel.apache.org/stream-caching.html
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/camel/SSLContextParametersAware
>         at java.lang.ClassLoader.defineClass1(Native Method)
>
>
> And following is my code.
> restConfiguration().component("jetty")
>             .bindingMode(RestBindingMode.json)
>             .port(8097);
>
>                         rest("/cbs") .consumes("application/json")
>                         .produces("application/json").post("/withdraw")
>
> .type(Test.class).to("bean:CBSTransactionService?method=handleTransactions");
>
>
> i have added jetty dependency 2.19 version. please help me.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Getting-StreamCaching-is-not-in-use-If-using-streams-then-its-recommended-to-enable-stream-caching-Sl-tp5799766.html
> Sent from the Camel Development mailing list archive at Nabble.com.



--
Zoran Regvart
Loading...