Re: Fuse Datasource Problem

2017-06-08 Thread Grzegorz Grzybek
Hello, the problem is opposite. You have: org.apache.commons.dbcp.BasicDataSource not found by camelEmail.jar > which means it's camelEmail.jar that has wrong Import-Package. regards Grzegorz Grzybek 2017-06-09 8:01 GMT+02:00 jjansen : > I don't think that this is a problem of camel, more your

Re: Fuse Datasource Problem

2017-06-08 Thread jjansen
I don't think that this is a problem of camel, more your integration into the OSGi container. May you should post your question also to the servicemix forum. In servicemix 7.0.0 there should be no need to wrap the commons-dbcp as it is provided out of the box. karaf@root>exports | grep org.apache

Re: Parsing csv data format

2017-06-08 Thread Giorgio Vespucci
Sakouhi, It looks like your code is running on JRE 1.8.0. Have you tried to run it on Java 7? Just because you mentioned this version issue... I don't know if Camel 2.15 can run on Java 8... On Thu, Jun 8, 2017 at 5:15 PM sakouhi wrote: > Ok Thanks Allan, > > > > -- > View this message in contex

Re: Apache-Ignite Example

2017-06-08 Thread Gary Hodgson
Hey solomon, perhaps the following example helps? public class ExampleIgniteCacheTest extends CamelTestSupport { @EndpointInject(uri = "mock:result") protected MockEndpoint resultEndpoint; @Test public void testCache() throws Exception { String e

Re: Apache-Ignite Example

2017-06-08 Thread Claus Ibsen
You need to set a header with the key name CamelIgniteCacheKey See the IgniteConstants class for the headers On Thu, Jun 8, 2017 at 12:52 PM, solomon wrote: > Hi, > > I'm trying to listen from an mqtt topic which produces a json object and > store that data into apache Ignite's Cache using Apach

Re: Parsing csv data format

2017-06-08 Thread sakouhi
Ok Thanks Allan, -- View this message in context: http://camel.465427.n5.nabble.com/Parsing-csv-data-format-tp5802566p5802575.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache-Ignite Example

2017-06-08 Thread solomon
Hi, I'm trying to listen from an mqtt topic which produces a json object and store that data into apache Ignite's Cache using Apache camel contex, but the data is not inserting to cache. my JSON data looks like this : {"id": 1, "data":"test"} and this is sample code snippet : from(

Fuse Datasource Problem

2017-06-08 Thread raja
Hi, I don't know whether it is the right place to ask.Im trying to create datasource in fuse. The Datasource works fine as Camel standalone Application. Im using ANT for build task(not maven). Fuse DataSource: In camel I used "org.springfr

AW: camel-test-blueprint includes camel-test, breaks java.nio.file.Files.probeContentType(source);

2017-06-08 Thread Leber, Thomas
Ah sorry read this too late. Next time :) -Ursprüngliche Nachricht- Von: Claus Ibsen [mailto:claus.ib...@gmail.com] Gesendet: Dienstag, 06. Juni 2017 20:23 An: users@camel.apache.org Betreff: Re: camel-test-blueprint includes camel-test, breaks java.nio.file.Files.probeContentType(source

Rest producer using http4 with https endpoint

2017-06-08 Thread KGarner
Using a rest producer backed by http4 component, providing an https endpoint as host fails. Error: No component found with scheme: http4s Looks like line 392 in HttpComponent.java host = host.replace("http", "http4"); Should instead replace http->http4 and https->https4, right? Thanks for any

AW: Mocks receive no messages in Camel-SpringBoot test

2017-06-08 Thread Burkard Stephan
Hi Owain Thanks for your answer. The Problem was in fact the TestRunner. I used "CamelSpringJUnit4ClassRunner" in my example project. If I simply change this to "CamelSpringBootJUnit4ClassRunner" (notice the "Boot" in it), the test in my example project works fine. @MockEndpoints and @Endpoin

Re: Parsing csv data format

2017-06-08 Thread Allan C.
The image you attached looks similar with the usual start up logs info, and is not describing any error. It would be easier to troubleshoot if there's an error log. Nonetheless the camel lock file is created when the file is being processed by your route. Claus would be the SME to help. Regards,

Re: Parsing csv data format

2017-06-08 Thread sakouhi
The newest version of Camel requires Java 8. In my work, we use java 7. I followed the example into the book Camel in action which use camel version 2.5.0 -- View this message in context: http://camel.465427.n5.nabble.com/Parsing-csv-data-format-tp5802566p5802572.html Sent from the Camel - Use

Re: Parsing csv data format

2017-06-08 Thread Claus Ibsen
Hi Is there a reason you use such an old Camel version 2.15? The latest is 2.19 On Thu, Jun 8, 2017 at 11:29 AM, sakouhi wrote: > I followed an example from a book Camel in action. how to marchal and > unmarchal a csv data format. However, I want to unmarchal a csv files with > (comma seperated

Re: Parsing csv data format

2017-06-08 Thread sakouhi
Yes, the program locks the file (for example test\standard.csv.camelLock ), then it shut down. -- View this message in context: http://camel.465427.n5.nabble.com/Parsing-csv-data-format-tp5802566p5802568.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Parsing csv data format

2017-06-08 Thread Allan C.
Can you confirm the attached image is a stack trace? Regards, Allan. Sent from Gmail mobile. On 8 Jun 2017 17:48, "sakouhi" wrote: > I followed an example from a book Camel in action. how to marchal and > unmarchal a csv data format. However, I want to unmarchal a csv files with > (comma seper

Parsing csv data format

2017-06-08 Thread sakouhi
I followed an example from a book Camel in action. how to marchal and unmarchal a csv data format. However, I want to unmarchal a csv files with (comma seperated delimiter) and split body. Then, I will use content based .choice to distribute messages according to required tasks. In fact, The first