Re: Settings for threads per endpoint

2015-11-25 Thread tomaswahlgren
In the end I got around this by using http4 component instead of jetty, and the component settings "setConnectionsPerRoute" and "setMaxTotalConnections" combined with the "threads" setting on the route. This seems to give me the unlimited number of parallell sessions that I was after. -- View

sFTP 'listFiles' does not work after upgrade from 2.15.x to 2.16.0

2015-11-25 Thread nicoruti
Dear camel-community I have the following route (simplified): RemoteFileEndpoint ftpEndpoint = endpoint("sftp:ftp.myhost.com/?username=user&password=x&delay=4320&disconnect=true", RemoteFileEndpoint.class); ftpEndpoint.setFilter(new MyDownloadFileFilter()); from(ftpEndpoint) .to(

Re: sFTP 'listFiles' does not work after upgrade from 2.15.x to 2.16.0

2015-11-25 Thread Claus Ibsen
Maybe its jcraft version change. Try using the same version of jcraft as before. On Wed, Nov 25, 2015 at 10:05 AM, nicoruti wrote: > Dear camel-community > > I have the following route (simplified): > > RemoteFileEndpoint ftpEndpoint = > endpoint("sftp:ftp.myhost.com/?username=user&password=x

Re: sFTP 'listFiles' does not work after upgrade from 2.15.x to 2.16.0

2015-11-25 Thread nicoruti
Thanks, Claus, for your quick response. Indeed, jcraft went up from 0.1.51 to 0.1.53. But switching back to the old version leads to the same error. -- View this message in context: http://camel.465427.n5.nabble.com/sFTP-listFiles-does-not-work-after-upgrade-from-2-15-x-to-2-16-0-tp5774379p57

Re: sFTP 'listFiles' does not work after upgrade from 2.15.x to 2.16.0

2015-11-25 Thread Claus Ibsen
What is the latest working 2.15.x version you can use? And mind that 2.15.5 is on the way, so maybe give that a test too. http://camel.465427.n5.nabble.com/VOTE-Release-Apache-Camel-2-15-5-td5774324.html Then we/you can do some source code compare, and commit history to track down what changes may

question how to asynchronous processing

2015-11-25 Thread 廣木康二
I have a question about asynchronous processing. I want to use same thread for same data when I use multiple camel components and multiple threads because I want to prevent from overtaking. So,how could I use multicast() or could I use some other methods? For example, Data1(first dat to come)

Re: How to improve throughput by grouping messages in a Transaction (in JMS)

2015-11-25 Thread prajath
Hi , I tried to use BatchMessageListenerContainer with camel still it is picking up single message from queue per transaction, could you please let me know what I am doing wrong here. Here is my code snippet Look like BatchMessageListenerContainer not deployed in Maven central. I have copie

Re: Am I using headers right?

2015-11-25 Thread Joakim Bjørnstad
Hello, If you need metadata or a value on multiple endpoints, or to be used internally in your routes, it is better to put them in the exchangeProperties. Then copy them out to headers, when needed. Since headers are meant to be used at the protocol/component in/out, there is no guarantee they per

Prevent FailedToCreateRouteException to cause application stop

2015-11-25 Thread Brossard
Hi, I am currently using Camel 2.16 in a web application, starting it with a *ContextLoaderListener* in my *web.xml*. Is there a way to prevent my webapp being stopped in case of exception like *FailedToCreateRouteException* ? In other words, i would like to isolate one (or more) route, and say to

Re: Prevent FailedToCreateRouteException to cause application stop

2015-11-25 Thread Claus Ibsen
Mark all routes to not auto startup, and then start them yourself one by one from some Java code etc. On Wed, Nov 25, 2015 at 3:23 PM, Brossard wrote: > Hi, > > I am currently using Camel 2.16 in a web application, starting it with a > *ContextLoaderListener* in my *web.xml*. > Is there a way to

Re: Prevent FailedToCreateRouteException to cause application stop

2015-11-25 Thread Brossard
Doesn't Camel try to resolve endpoint even if route isn't autostarted ? If not, how can i start my route(s) only when my application's context is started? Thx Arnaud -- View this message in context: http://camel.465427.n5.nabble.com/Prevent-FailedToCreateRouteException-to-cause-application-sto

Re: Am I using headers right?

2015-11-25 Thread Matt Sicker
Properties get lost even more often than headers, though. They're only copied when the entire Exchange is used instead of the message body or the Message object. I use them for temporary metadata between Processors, beans, etc. On 25 November 2015 at 06:54, Joakim Bjørnstad wrote: > Hello, > > I

How do I pass on my query parameters?

2015-11-25 Thread tomaswahlgren
I have a consumer : /jetty:http://localhost:6080/say/hello1?matchOnUriPrefix=true&enableMultipartFilter=false/ And a producer: /http4://localhost:6080/mdp/api/ifmdp/map?bridgeEndpoint=true&throwExceptionOnFailure=false&disableStreamCache=true/ When my application calls the URL may look like: /htt

[ANNOUNCE] CFP open for ApacheCon North America 2016

2015-11-25 Thread Rich Bowen
Community growth starts by talking with those interested in your project. ApacheCon North America is coming, are you? We are delighted to announce that the Call For Presentations (CFP) is now open for ApacheCon North America. You can submit your proposed sessions at http://events.linuxfoundation.o

Re: Am I using headers right?

2015-11-25 Thread Joakim Bjørnstad
Yes, you typically use them for route internal metadata. But they are not lost when they enter and return from an endpoint, unless you or the component creates a fresh new exchange. Please also see this SO: http://stackoverflow.com/questions/10330998/passing-values-between-processors-in-apache-ca

Routing Slip not executing full routes

2015-11-25 Thread biphasic
Hello, I'm currently trying to get a Routing Slip EIP to work. I can successfully route the inflight message to various endpoints, but the routes are never fully executed. Meaning the following: when the routing slip includes the URIs "direct:updateOrCreatePatient, direct:admit", my expectedMessage

Re: Upgrade Camel 2.10.1 - 2.11.0 - Camel keeps restarting

2015-11-25 Thread Mullally, Mark
Immense gratitude for this post as I am now not obligated to work Thanksgiving Day to resolve the issue ... years later I am witnessing exactly the same behavior as you described and the remedy of removing the update-strategy="reload" attribute also resolved the issue. The only insight I can contr

Exception on camel-example-spring-ws

2015-11-25 Thread James Wong1
I'm trying to run the Spring Web Services Example (camel-example-spring-ws) with the SOAP UI project examples/camel-example-spring-ws/client, I have noticed that there are some exceptions on the console. Although I can see the SOAP response. Please help. 2015-11-26 10:08:07,195 [tp1573356572-29] W

Re: Exception on camel-example-spring-ws

2015-11-25 Thread Claus Ibsen
Upgrade Camel to 2.16.1 as it was a bug in camel and camel-spring-ws in that version. On Thu, Nov 26, 2015 at 3:15 AM, James Wong1 wrote: > I'm trying to run the Spring Web Services Example (camel-example-spring-ws) > with the SOAP UI project examples/camel-example-spring-ws/client, I have > noti