Re: difference on seda versus threads usage

2017-10-24 Thread Robson Vargas Farias
small correction on the bench code: versus 2017-10-24 21:34 GMT-02:00 Robson Vargas Farias < robsonvargasfar...@gmail.com>: > I'm trying to figure out the real world usage on both asynchronous > options... even trying to fit a way where I could mix ... but not sure > whether t

difference on seda versus threads usage

2017-10-24 Thread Robson Vargas Farias
I'm trying to figure out the real world usage on both asynchronous options... even trying to fit a way where I could mix ... but not sure whether this makes sense... so, the question is, what's the basic difference using one or another, like: versus

Re: Problem with upgrade from camel 2.19.3 to camel 2.20.0

2017-10-24 Thread Dicken George
yes it seems to be like a timing issue :) but what i don't understand is, i thought putting my manual route start up in afterapplicationstart should have resolved the problem. Seems like it doesn't :) On Tue, Oct 24, 2017 at 7:25 PM, Mark Nuttall wrote: > I don't know enough about the inner wor

Re: Problem with upgrade from camel 2.19.3 to camel 2.20.0

2017-10-24 Thread Mark Nuttall
I don't know enough about the inner workings of Camel to tell you about the version issue. If i remember rightly, I've heard of or experience the same sort of thing when doing outside the box things, like this. It is really a timing issue, if i remember rightly. On Tue, Oct 24, 2017 at 1:18 PM,

Re: Problem with upgrade from camel 2.19.3 to camel 2.20.0

2017-10-24 Thread Dicken George
so in the stack trace it talks about line 66 but when i debug i can see that "camelContext.startRoute("salesforce-versions");" already in line 64 meaning the route is not started as the routeservices object is empty (null). Which thereby causes and expection at line 66 whi

Re: Problem with upgrade from camel 2.19.3 to camel 2.20.0

2017-10-24 Thread Dicken George
Hi Mark, Thank you for your reply. I use the manual method to start one specific route as I would like to control the application behaviour. It is kind of a exception handler that allows me to shutdown my application incase the route was not successfully able to get the salesforce version. There

Re: Problem with upgrade from camel 2.19.3 to camel 2.20.0

2017-10-24 Thread Mark Nuttall
Oh. i missed the "complex use case". Of the code you provided, what is line 66? On Tue, Oct 24, 2017 at 11:47 AM, Mark Nuttall wrote: > Is there any reason you are not using the standard Spring Boot + Camel > mechanisms to create the context and routes. I don't readily see any in > your code. D

Re: Problem with upgrade from camel 2.19.3 to camel 2.20.0

2017-10-24 Thread Mark Nuttall
Is there any reason you are not using the standard Spring Boot + Camel mechanisms to create the context and routes. I don't readily see any in your code. Doing so might resolve the problem. Let me know if you need help with that.. Mark On Tue, Oct 24, 2017 at 9:36 AM, Dicken George wrote: > D

Problem with upgrade from camel 2.19.3 to camel 2.20.0

2017-10-24 Thread Dicken George
Dear Fellow Developers, Just recently, I tried to upgrade my camel-spring boot project form camel 2.19.3 to camel 2.20.0 and I face the problem that, I cannot boot up my application any more, and I get the following stack trace java.lang.NullPointerException at com.haufe.ssmp.sfdc.api.app.BeanCon

CamelSpringBootRunner and AdviceWith

2017-10-24 Thread Boris Stanojević
When using CamelSpringBootRunner (camel 2.20) for my tests I'm not able to "adviceWith" my Routes any more since CamelContext is already started by " CamelSpringBootExecutionListener" and therefore adviceWith doesn't take place. Any suggestions? Many thanks!!

Camel FTP producer writing file without listing

2017-10-24 Thread Laurentiu Trica
Hello, I have to write files in a FTP folder that contains thousands of files. Seems that the FTP producer always does a list before writing the file. I use Camel 2.13 Is there a way to avoid getting the files list? It's very time consuming and it often makes the write to fail... I've been tryin

Re: camel-jetty and jetty version 9.4.7.v20170914

2017-10-24 Thread Claus Ibsen
You can use camel-servlet instead, which would be better as you are using the servlet engine from spring boot. On Tue, Oct 24, 2017 at 1:51 PM, Greg Ludington wrote: > My apologies; I am talking about consumers, not producers. > > Sent from my iPhone > >> On Oct 23, 2017, at 11:12 PM, Claus Ibsen

Re: camel-jetty and jetty version 9.4.7.v20170914

2017-10-24 Thread Greg Ludington
My apologies; I am talking about consumers, not producers. Sent from my iPhone > On Oct 23, 2017, at 11:12 PM, Claus Ibsen wrote: > > Hi > > Jetty producer (not the consumer) is deprecated, do not use that, and > migrate to use something else. > >> On Mon, Oct 23, 2017 at 11:21 PM, Greg Ludin

Re: No host for http4 connection

2017-10-24 Thread Zoran Regvart
Hi Allen, seems like the client did not set the `Host` HTTP header, not sure why would that be as I think most HTTP clients set it by default, zoran [1] https://issues.apache.org/jira/browse/CAMEL-5757 On Fri, Oct 20, 2017 at 6:30 PM, Bagwell, Allen F wrote: > I am trying to write a test that n

Re: Camel JPA + Wildfly Swarm

2017-10-24 Thread Zoran Regvart
Hi Renato, this looks to me like your archive contains classes that are already present on the servers classpath. Perhaps you can try comparing your code with one of the examples from the wildfly-camel, there is a JPA example in the GitHub repository[1], and one in the in the wildfly-swarm[2] repos