You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by santoshkeleti <ke...@gmail.com> on 2017/05/18 04:26:30 UTC
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
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.
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
Posted by Zoran Regvart <zo...@regvart.com>.
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
<ke...@gmail.com> 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