Re: Rép. : Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Kerry
OK if you don't use blueprint then that shouldn't be a problem but I wouldn't waste time at the moment trying to deploy my example (I need to update the docs on it to list all the feature dependencies to be installed in Karaf.. like I say it is a rough example at the moment) Instead look at

Rép. : Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Daniel Langevin
Hi, before open the case i tried to include theese lines into my SPRING Bundle. (i don't use BLUEPRINT) http://www.springframework.org/schema/beans; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:camel="http://camel.apache.org/schema/spring;

Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Kerry
Hi, I have achieve the exact same thing Daniel (based upon the camel-example-servlet-rest-blueprint example available in the GitHub repo) My (rough) example can be found here: https://github.com/jtkb/cameltest The two bundles of interest are the 'api' and 'time-api' Maven modules. Take a

Rép. : Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Daniel Langevin
Hi, i use KARAF as OSGI i deploy camel-servlet an no error in the log FeaturesServiceImpl | 8 - org.apache.karaf.features.core - 4.0.9 | Adding features: camel-servlet/[2.17.7,2.17.7] FeaturesServiceImpl | 8 - org.apache.karaf.features.core - 4.0.9 | Changes

AW: OpenHub framework - Apache Camel, but improved ...

2017-11-28 Thread jhm
The name itself is very close to the home automatisation project http://www.openhab.org/ just my 2ct Jan > -Ursprüngliche Nachricht- > Von: Claus Ibsen [mailto:claus.ib...@gmail.com] > Gesendet: Dienstag, 28. November 2017 16:27 > An: users@camel.apache.org > Cc: Juza Petr > Betreff:

Jetty POST multipart parsing

2017-11-28 Thread Mark
I have a REST DSL route where I will be receiving binary files via HTTP POST. The data comes in to the Camel route, but the body contains the Boundary data, and content data like this: --WebKitFormBoundarynB8xvLY3l8fNLpcG Content-Disposition: form-data; name="filename"; filename="attachment"

Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Mark
If I'm understanding your deployment correctly, you just need to make sure the proper camel bundles/features are deployed. What OSGi container are you using and what do your logs say? On Tue, Nov 28, 2017 at 12:35 PM, Claus Ibsen wrote: > Sorry for being a bit short on

Re: File idempotent store problem

2017-11-28 Thread Claus Ibsen
Hi Ah well spotted. I think we should for loop via Map.Entry (or (k,v) via lambda) which I think will be in the correct order. You are welcome to log a JIRA. And also work on unit test and patch. http://camel.apache.org/contributing On Tue, Nov 28, 2017 at 8:55 AM, Krzysztof Hołdanowicz

Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Claus Ibsen
Sorry for being a bit short on details, but I dont have the osgi example at hand here. On Tue, Nov 28, 2017 at 6:34 PM, Claus Ibsen wrote: > Hi > > Yeah I think it has been talked before about osgi and rest here or on > stackoverflow. You can configure camel-servlet for

Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Claus Ibsen
Hi Yeah I think it has been talked before about osgi and rest here or on stackoverflow. You can configure camel-servlet for osgi with some "magic" osgi http service stuff. On Tue, Nov 28, 2017 at 5:05 PM, Daniel Langevin wrote: > Hi, > > i try to implement a Rest

Re: Camel CDI with standalone JTA in Weld SE

2017-11-28 Thread Antonin Stefanutti
Hi Gary, Would that be possible for you to test with anther transaction implementation? IIRC I add some issues with Atomikos and then switch to JBoss JTA / Narayana and it worked. I plan to add a Camel CDI / JMS / JTA example ASAP which should cover that. Antonin > On 28 Nov 2017, at 00:25,

netty4-http increase max content length

2017-11-28 Thread Mark
I am trying to create a Camel based REST endpoint that will need to consume file uploads greater than the default 1 MB limit. I created my REST configuration using the following code: restConfiguration() .component("netty4-http") .bindingMode(RestBindingMode.off)

Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Daniel Langevin
Hi, i try to implement a Rest service In OSGI Karaf 4.0.9 with Camel 2.17.7 i want to have multiple REST service from more than one bundle using the same port number like this. A) file name ABC-REST-0.0.1.XML deployed containg all routes for the system ABC. ... call the

Re: OpenHub framework - Apache Camel, but improved ...

2017-11-28 Thread Claus Ibsen
Hi Juza Thanks for announcing your project to the Apache Camel community. I do hope your team will get chances to participate in the Apache Camel community as well, and based on your experience, be able to contribute here as well, whether its bug fixes, new components, improvements to

Re: HazelcastComponent deprecated in 2.20

2017-11-28 Thread Claus Ibsen
Hi The hazelcast component has been divided into specialized components so you can find a component for map, list, topic etc, and use that component. This is sometimes needed if a component otherwise becomes too generic. for example we have done the same with the twitter component. On Mon, Nov

Re: Camel: detect Kafka not available

2017-11-28 Thread Yacov Schondorf
But this is exactly my point - there is no stack trace! I want there to be a stacktrace so that I could catch it using the regular error handler. This is the purpose of the call to endpoint1.setBridgeErrorHandler(true); However, the call does not work, no trace is printed and the polling