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 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

Re: Synchronizing SFTP and ActiveMQ

2017-05-11 Thread Allan C.
I'm not sure but perhaps the enrich pattern could work? http://camel.apache.org/content-enricher.html Regards, Allan. Sent from Gmail mobile. On 12 May 2017 07:12, "jgewehr" wrote: I'm not sure if I'm thinking about this problem correctly so please provide any feedback you think is appropriat

Re: Error in Unmarshalling to custom data format

2017-02-23 Thread Allan C.
ormat-UsingSpringXML Regards, Allan C. On 24 February 2017 at 12:36, Amruta Jawlekar wrote: > Thanks for your reply, Allan. > > Now I have removed all the routes from camel-context which were using > bindy. > So the bindy error message is gone. However, the main error in data > co

Re: Error in Unmarshalling to custom data format

2017-02-23 Thread Allan C.
y can only recognize a single POJO/data file format in one package. So if said version is being used, the POJOs need to be in separate packages. Latest 2.18.x allows you to define bindy POJOs in a single package. Regards, Allan C. On 23 February 2017 at 21:07, Amruta Jawlekar wrote: > Actually,

Re: moving file with camel

2016-12-06 Thread Allan C.
I think using timer/quartz with content enricher (pollEnrich) could be your solution. Regards, Allan C. On Tue, Dec 6, 2016 at 4:46 PM, Jan Matèrne (jhm) wrote: > > -I want to filter multiple format file (as .html,.jpg...).How can I do > > it? > > You could read only t

Re: Java DSL: How to inject object endpoint?

2016-11-01 Thread Allan C.
I'll look into this, thanks. Regards, Allan C. On Tue, Nov 1, 2016 at 10:21 PM, Brad Johnson wrote: > You may also want to look at @EndpointInject with uri of the route you want > to invoke. That depends on the specific needs. You might use that in the > case where you want t

Re: Java DSL: How to inject object endpoint?

2016-10-31 Thread Allan C.
Noted, thanks for the tips! Regards, Allan C. On Tue, Nov 1, 2016 at 12:11 PM, Tomohisa Igarashi wrote: > Or migrate to @Named("someInstance") CDI bean with using camel-cdi? > http://camel.apache.org/cdi.html > > > On 11/01/2016 01:04 PM, Minh Tran wrote: > >

Re: Java DSL: How to inject object endpoint?

2016-10-31 Thread Allan C.
I see. Noted, thanks! Regards, Allan C. On Tue, Nov 1, 2016 at 12:04 PM, Minh Tran wrote: > Hi > > It’s still the same syntax > > from("foo://bar?foobar=#someInstance”).to (…. > > You still declare the someInstance somewhere in your Spring context as you > would

Re: Java DSL: How to inject object endpoint?

2016-10-31 Thread Allan C.
P/S I am using RouteBuilder Regards, Allan C. On Tue, Nov 1, 2016 at 11:58 AM, Allan C. wrote: > Hi, > > I've never used Java DSL to define routes. Can anyone share or provide > some hints on how to perform the same thing below in Java code? i.e. inject > someInstan

Java DSL: How to inject object endpoint?

2016-10-31 Thread Allan C.
Hi, I've never used Java DSL to define routes. Can anyone share or provide some hints on how to perform the same thing below in Java code? i.e. inject someInstance into the endpoint. Regards, Allan C.

camel-xmpp Producer for Firebase Cloud Messaging

2016-10-21 Thread Allan C.
should be configured as below for FCM to work: And the endpoint: Regards, Allan C.

Re: 2.18.0 SimpleLanguage

2016-10-21 Thread Allan C.
ginal exception related to SimpleLanguage is not thrown anymore. And I also did restart Karaf once. But I think the 2.18.0 SimpleLanguage is not an issue - I can't reproduce the exception anymore. Regards, Allan C. On Fri, Oct 21, 2016 at 9:05 PM, Allan C. wrote: > This is the route r

Re: 2.18.0 SimpleLanguage

2016-10-21 Thread Allan C.
0 and 2.16.3 installed. Not sure if this is cause for the conflict. I'll uninstall the 2.16.3 components and try again maybe tomorrow. Regards, Allan C. On Fri, Oct 21, 2016 at 6:51 PM, souciance wrote: > Sorry, but can you post the route as well? > > On Fri, Oct 21, 2

Re: 2.18.0 SimpleLanguage

2016-10-21 Thread Allan C.
mponentResolver;component=cm com.test.server.AppBundleActivator I am running this on Karaf 4.0.6. Regards, Allan C. On Fri, Oct 21, 2016 at 4:55 PM, souciance wrote: > How does your pom look? > > On Fri, Oct 21, 2016 at 10:41 AM, Allan C. [via Camel] < &g

2.18.0 SimpleLanguage

2016-10-21 Thread Allan C.
efinition.java:451)[90:org.apache.camel.camel-core:2.18.0] Are there some changes to the SimpleLanguage? Regards, Allan C.

Re: Route elements - Loop

2016-08-30 Thread Allan C.
The people at Fuse and Camel has made available tons of materials and samples for reference. Try this https://github.com/FuseByExample/camel-persistence-part2 Regards, Allan C. On Tue, Aug 30, 2016 at 5:11 AM, Robert Lario wrote: > I am new to camel. > > > I have a file that

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-08-29 Thread Allan C.
Hi Claus, The parameter sendServerVersion for camel-jetty component works. Only that when deployed on Karaf somehow the configuration is not detected. I also just got to know that the HTTP Server header is a standard for any HTTP service, so I think I'll just leave it at that. Regards, Al

Re: camel-jdbc typo?

2016-08-05 Thread Allan C.
Sweet. Thanks and cheers. Regards, Allan C. On Sat, Aug 6, 2016 at 11:06 AM, Matt Sicker wrote: > Alright, I've fixed that typo too: > https://cwiki.apache.org/confluence/display/CAMEL/JDBC > > Not sure how often the html page is regenerated from the wiki, though. > > On

Re: camel-jdbc typo?

2016-08-05 Thread Allan C.
Hi Matt, I've checked on the codes, the constant header value is "CamelJdbcParameters" and it is used in the exchange in header, thus it could be safely concluded that the typo only occurs at the doc. Regards, Allan C. On Sat, Aug 6, 2016 at 9:59 AM, Matt Sicker wrote: &g

Re: camel-jdbc typo?

2016-08-05 Thread Allan C.
Apologies. I am using non plain text editor. The other one is "CamelJdbcParametes" header. I didn't look into the codes if the actual header is without an "r", but I supposed it is, as, correct me if I am wrong, the doc is generated from the code's annotation? Re

camel-jdbc typo?

2016-08-05 Thread Allan C.
:* The column names from the ResultSet as a java.util.Set type. CamelJdbcParametes *Camel 2.12:* A java.util.Map which has the headers to be used if useHeadersAsParameters has been enabled. Regards, Allan C.

Re: Not able to create an multiple rest consumers

2016-07-25 Thread Allan C.
It would be easier to identify the problem if you can post any errors or exceptions from the log file here. Regards, Allan C. On Mon, Jul 25, 2016 at 3:30 PM, kumar wrote: > > Hi All, > > I am facing issue with adding multiple rest consumers in camel. > I have a requirement t

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-17 Thread Allan C.
FWIW, I tried using camel-jetty at first and configured the parameter sendServerVersion, but couldn't get it to work. Then I tried the plain CXF JAX-RS. Can't work as well. Still looking into it. Regards, Allan C. On Mon, Jul 18, 2016 at 9:07 AM, Allan C. wrote: > Hi Claus, >

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-17 Thread Allan C.
Hi Claus, It's plain CXF JAX-RS. I will look into it and get back to you soon. Regards, Allan C. On Sat, Jul 16, 2016 at 4:04 PM, Claus Ibsen wrote: > You say using CXF JAXRS. Is that camel-cxf or plain JAX-RS with CXF > then you may need to look at those to turn off that op

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-12 Thread Allan C.
Regards, Allan C. On Tue, Jul 12, 2016 at 6:35 PM, Allan C. wrote: > Hi Claus, > > Thanks for your reply. > > Yes, I basically switched from using Fuse 6.2.1 (Karaf 2.4.0 I think) to > Karaf 4.0.5, thus providing the opportunity to upgra

Re: Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-12 Thread Allan C.
Hi Claus, Thanks for your reply. Yes, I basically switched from using Fuse 6.2.1 (Karaf 2.4.0 I think) to Karaf 4.0.5, thus providing the opportunity to upgrade some of the other features such as camel, jetty and hibernate. I will try it out and let you know soon. Regards, Allan C. On Tue

Camel 2.16.3: camel-jetty9 sendServerVersion=false doesn't work

2016-07-10 Thread Allan C.
ch is 9.2.15.v20160210. My camel context is running on Karaf 4.0.5, which uses pax-jetty. Are there additional configurations I am missing? Regards, Allan C.