Re: [CAMEL-JETTY] How to manage filter-mapping?

2016-03-28 Thread Willem Jiang
The filter is applied according to the path of the endpoint, if you just want to apply the filter to the “/myweb/foo/*”, you need to setup the jetty endpoint like this  from(“jetty:http://0.0.0.0:8080/myweb/foo” + ...) -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://

Re: [CAMEL-JETTY] How to manage filter-mapping?

2016-03-28 Thread Charlee Chitsuk
Hi Willem, Thank you very much for your reply. If I have more than one resources, e.g "/myweb/foo" and "/myweb/bar". I should define the route twice, right? from("jetty:http://0.0.0.0:8080/myweb/foo"; .) from("jetty:http://0.0.0.0:8080/myweb/bar"; ..) Could you please help to advise fu

Camel ftp component : JSCH-0.1.44 Vs OpenSSH_6.6.1 issue: Leads to error : com.jcraft.jsch.JSchException: Session.connect: java.io.IOException: End of IO Stream Read

2016-03-28 Thread sharma_arun_se
We are facing below mentioned error once our client applied latest changes for SSH. Is this problem with camel-ftp component? Do we need to change to latest camel-ftp component 2.16? Do Fuse/servicemix version (apache-servicemix-4.3.1-fuse-03-01) support camel 2.16? Current Software version: 1. ap

Re: [CAMEL-JETTY] How to manage filter-mapping?

2016-03-28 Thread Willem Jiang
I’m afraid you have to define the routes twice if you want to setup different filters according to the path. -- Willem Jiang Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On March 28, 2016 at 3:49:55 PM, Charlee Chit

Use same db connection

2016-03-28 Thread NES
Hi. I'm using Camel SqlComponent, and I have a problem. I want to get a last_insert_id, and my route is here. TEST_TBL has auto_increment primary key. I can't get a id that I expected in this route, because "INSERT" and "SELECT LAST_INSERT_ID()" are on different endpoints, in o

Best Strategy to process a large number of rows in File

2016-03-28 Thread Michele
Hi everyone, a business requirement of my project is to process a file from directory, split and store each single row in Active MQ. Then a consumer will consume the queue invoking a Rest Service by jetty client. So, there is a little problem... when the file csv has many lines (~5 rows) to

Netty bi directional communication

2016-03-28 Thread Jagannath Naidu
Hi List, I am again stuck in a situation. :-D ENVIRONMENT I am using camel 2.15.x and can use this one only we have a server which works as follows 1. This server will multiple requests 2. It will not respond in same tcp session ( means, it will create a new connection every time ) 3. It listen

Re: Netty bi directional communication

2016-03-28 Thread Jagannath Naidu
CORRECTION On 28 March 2016 at 16:24, Jagannath Naidu < jagannath.na...@fosteringlinux.com> wrote: > Hi List, > > I am again stuck in a situation. :-D > > ENVIRONMENT > > I am using camel 2.15.x and can use this one only > > we have a server which works as follows > 1. This server will multiple r

help on cxfrs client trigger

2016-03-28 Thread Narsi Nallamilli
Hi, I have rsServer and rsClient defined in my camel context, http://localhost:9001/"; loggingFeatureEnabled="true" loggingSizeLimit="-1">

Camel dependency query

2016-03-28 Thread Vanshul . Chawla
Hello All, I have a query on Camel dependency jars. Does Camel loads all jars or invokes required classes for each transaction or it loads only when jar is started and then caches these jars/classes? So we are planning to put all dependency jars at a NAS location so that all server always use

Re: Best Strategy to process a large number of rows in File

2016-03-28 Thread Ranx
Michelle, There are a number of ways you can do that and it will depend on what is constraining your REST API. Is it limited on the number of concurrent connections? Is it limited to the number of transactions/minute? There are at least two components you'll want after the JMS queue. One will

camel-Kafka producer re-tries

2016-03-28 Thread kumar5
I have configured camel-Kafka producer (camel 2.16.2) topic(USER_REQ_TOPIC) if any exception throws then only once it has to re-tries but in loges shows 5 tries and at end it says only one rites it did. I want Kafka has to re-tries only once if any exception happens. Can you please help me to

Ldap query exception

2016-03-28 Thread rburdet
Hi, im working on an application that needs to make a query to a ldap server. My bean is :

Re: Camel Rest DSL issue with fuse fabric

2016-03-28 Thread GaganT
As it turned out, I was not using the correct URL. The "contextPath" is not part of actual URL to be used. So in this example, i was trying to access rest service as http://localhost:8181/optima/test/123 and I was getting "Resource not found" error. The correct URL is http://localhost:8181/test/12

Re: Ldap query exception

2016-03-28 Thread Walzer, Thomas
Please share your route. > Am 28.03.2016 um 18:39 schrieb rburdet : > > Hi, im working on an application that needs to make a query to a ldap server. > > My bean is : > scope="prototype"> > > > value="com.sun.jndi.ldap.LdapCtxFactory"/> >

Re: camel-Kafka producer re-tries

2016-03-28 Thread Gerard Klijs
You can have errors at multiple levels. I'm not sure on which one you only want to retry once. Kafka will retry to some degree always, even if you don't have retries in Kafka configured. When the connection breaks the retries value is needed to still send the message. By using Camel you have yet an

Spring Boot and Camel 2.17.0

2016-03-28 Thread zpyoung
For some reason when I use the following pom.xml configuration I'm getting the following version displaying in the console. Why is 2.15.4 displaying when I'm trying to use 2.17.0. 2016-03-28 19:09:06.452 INFO 14516 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans

Re: camel-Kafka producer re-tries

2016-03-28 Thread kumar5
thanks i will check -- View this message in context: http://camel.465427.n5.nabble.com/camel-Kafka-producer-re-tries-tp5779900p5779913.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel reconnectDelay and maximumReconnectAttempts not working with ConsumerTemplete

2016-03-28 Thread Premkumar
I have Quartz Cron job that runs on some schedule and i am using Camel Consumer, Producer template to pickup some files from FTP site and copy it local file system. When using reconnectDelay=6 and maximumReconnectAttempts=3,throwExceptionOnConnectFailed=true with FTP consumer it doesn't try to

Re: camel-kafka 2.17.0

2016-03-28 Thread kumar5
working fine after changing kafka 0.9.0.1 -- View this message in context: http://camel.465427.n5.nabble.com/camel-kafka-2-17-0-tp5779911p5779912.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel-kafka 2.17.0

2016-03-28 Thread kumar5
I am using camel-kafka 2.17.0 component and giving below error if I user camel-kafka 2.16.2 it works fine. Please help me to fix Error : 2

Re: Ldap query exception

2016-03-28 Thread rburdet
My route and bean configs: http://0.0.0.0:18181/smg/processes/bdc/"; serviceClass="ar.com.smg.sgi.esb.proxyrightnow.model.TokenService" />

Re: Spring Boot and Camel 2.17.0

2016-03-28 Thread Claus Ibsen
You need to add the camel bom See this example https://github.com/apache/camel/blob/master/examples/camel-example-spring-boot-starter/pom.xml On Tue, Mar 29, 2016 at 2:19 AM, zpyoung wrote: > For some reason when I use the following pom.xml configuration I'm getting > the following version displ