Re: Camel Split : How to keep token when splitting a multilines files

2015-07-10 Thread Claus Ibsen
Hi I wonder if its because you use regexp and then include tokens is not supported. I guess it may require special added logic to support this. Maybe something with a group in the regexp to have it return the ENT part as well. On Wed, Jul 8, 2015 at 2:55 PM, Vincent Monnin

Re: Problem from Java DSL to Spring DSL

2015-07-10 Thread Claus Ibsen
Hi No headerName is a string attribute and cannot be dynamic. You can use a property placeholder though but its only resolved once during route creation. Currently its only the constants from Exchange that are supported such as Exchange.FILE_NAME. On Thu, Jul 9, 2015 at 8:02 PM, MC

Re: Camel File Cluster

2015-07-10 Thread Claus Ibsen
Hi I covered such a scenario in the upcoming Camel in Action 2 book in chapter 12 with the new idempontent readLock option. That allows to use a clustered idempotent impl to control the flow and allow concurrent processing of files safely in a cluster. On Thu, Jul 9, 2015 at 4:15 PM, Андрей

Re: Accessing HttpClient from JettyHttpComponent

2015-07-10 Thread Claus Ibsen
Hi Yeah its changed a bit now to unify jetty8 and jetty9. You can set TLS on the component (see the setters) as part of the various keystore options that the client would use. On Thu, Jul 9, 2015 at 3:14 PM, stephen.ctr.chapp...@faa.gov wrote: Hi - I'm migrating some legacy code from Camel

Re: Camel File Cluster

2015-07-10 Thread Андрей Карев
Hi, again! I did some more research. I've commented deleteLockFiles in function prepareOnStartup in MarkerFileExclusiveReadLockStrategy.class Now my consumers does not delete each other .camelLock and transfer is fine. But, if one consumer fails, it's .camelLock still in folder and other instance

Dynamic Camel Routes

2015-07-10 Thread smjain
Hi, My scenario is like this. I have a set of camel components(some provided as part of Camel and some custom). I want to run these bundles seperately as OSGi components and then a seperate component(OSGi as well), which can then use these bundles to orchestrate the flow. This means that we have a

Read emails

2015-07-10 Thread bbenny93
I'm totally new to Camel and I just wanted to try something simple like reading emails from a gmail address and put them in a folder. To do so I've just modified the example from the chapter1 of the /Camel in Action/ book, but every time I launch it I get a connection time out. My java file looks

Re: Read emails

2015-07-10 Thread Claus Ibsen
Hi Try another mail server than gmail, as they have secured it and you also need to [x] in some setting to allow imap access and whatnot. On Fri, Jul 10, 2015 at 11:57 AM, bbenny93 bbri...@patient1.nl wrote: I'm totally new to Camel and I just wanted to try something simple like reading

how to send the SOAP proxy request deployed in local fuse jetty

2015-07-10 Thread chaituu
I want to test SOAP proxy service before calling real webservice written using Jetty component that is deployed on latest Jboss Fuse-6.2. 1)employeeRouterEndpoint is Soap PROXY service which is mentioned as[http://0.0.0.0:9199/OrderEndpoint] what is difference between jetty:http and only

RE: Accessing HttpClient from JettyHttpComponent

2015-07-10 Thread Stephen.CTR.Chappell
Thanx, Claus. It looks like I'd use setKeystore, setSslKeyPassword, and setSslPassword to set up the HttpClient key usage, is that correct? What I don't see is any way to set the client-side trust store (i.e., HttpClient.setTrustStoreLocation setTrustStorePassword)? Thanx, Stephen W.

Re: java.net.URISyntaxException using recipientList

2015-07-10 Thread Claus Ibsen
Hi I found and fixed the bug https://issues.apache.org/jira/browse/CAMEL-8951 On Fri, Jul 10, 2015 at 4:18 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Ah yeah thats a little bug in the recipient list. You are welcome to log a JIRA On Fri, Jul 10, 2015 at 4:03 PM, Marco Crivellaro

Re: Read emails

2015-07-10 Thread bbenny93
Hi, thank you for your reply. I had already allowed imap in gmail. I tried with a yahoo address too but it's not working either, I don't know what I'm doing wrong. Also I've tried this to send an email... not working either :( I wrote this:

Re: Read emails

2015-07-10 Thread bbenny93
Ok thanks. Will I need to do that for any mail server? Or do you know one I could use without any setup (I have no idea if it's easy to do)? So I could get a grasp of camel functionalities with mails more easily. Benjamin. -- View this message in context:

Re: Read emails

2015-07-10 Thread Ravindra Godbole
Can you have a look at this example I have uploaded. https://github.com/godbolerr/camel-example-mail On Fri, Jul 10, 2015 at 7:15 PM, bbenny93 bbri...@patient1.nl wrote: Hi, thank you for your reply. I had already allowed imap in gmail. I tried with a yahoo address too but it's not

Re: Read emails

2015-07-10 Thread bbenny93
Thanks, it seems to be exactly what I'm looking for. However I'm having difficulties to compile the examples. I get this error when I do /mvn compile/: Non-resolvable parent POM: Could not find artifact org.apache.camel:examples:pom:2.14-SNAPSHOT and 'parent.relativePath' points at wrong local POM

Re: Read emails

2015-07-10 Thread Claus Ibsen
Hi You likely need to setup some SSL/TLS to work with google mail. On Fri, Jul 10, 2015 at 3:45 PM, bbenny93 bbri...@patient1.nl wrote: Hi, thank you for your reply. I had already allowed imap in gmail. I tried with a yahoo address too but it's not working either, I don't know what I'm doing

Re: Problem from Java DSL to Spring DSL

2015-07-10 Thread MC
Thank you Claus. -- View this message in context: http://camel.465427.n5.nabble.com/Problem-from-Java-DSL-to-Spring-DSL-tp5732558p5769102.html Sent from the Camel - Users mailing list archive at Nabble.com.

java.net.URISyntaxException using recipientList

2015-07-10 Thread Marco Crivellaro
Hi, I am trying to upgrade to Camel 2.15 from camel 2.8.6 and I am finding a problem when trying to serve endpoints which URIs contains the character { as a java.net.URISyntaxException is thrown. As an example a destination FTP endpoint contains the character '{' in the password; ie: '12{34'

Re: java.net.URISyntaxException using recipientList

2015-07-10 Thread Marco Crivellaro
Fastest fix ever! I don't see it yet in master or 2.15.x branch, was just wondering where the problem was. -- View this message in context: http://camel.465427.n5.nabble.com/java-net-URISyntaxException-using-recipientList-tp5769103p5769115.html Sent from the Camel - Users mailing list archive

Re: java.net.URISyntaxException using recipientList

2015-07-10 Thread Claus Ibsen
Hi Ah yeah thats a little bug in the recipient list. You are welcome to log a JIRA On Fri, Jul 10, 2015 at 4:03 PM, Marco Crivellaro marco.cr...@gmail.com wrote: Hi, I am trying to upgrade to Camel 2.15 from camel 2.8.6 and I am finding a problem when trying to serve endpoints which URIs

regex pattern derived from property file

2015-07-10 Thread Nadtech
I set up the property configurer using jasypt: bean id=properties class=org.jasypt.spring.properties.EncryptablePropertyPlaceholderConfigurer constructor-arg ref=configurationEncryptor/ property name=location value=file:${tier}.properties/ /bean I

using Existing jetty server

2015-07-10 Thread mayur_bm
Hi, I have a OSGi bundle, which is running the jetty instance. this OSGI bundle is not OSGI service. I just want to consume this Jetty instance in my Camel Route. is this possible? Regards, Mayur -- View this message in context:

Re: java.net.URISyntaxException using recipientList

2015-07-10 Thread Claus Ibsen
Hi I am currently testing all of Camel with the fix and a bunch of recent fix before pushing. On Fri, Jul 10, 2015 at 4:50 PM, Marco Crivellaro marco.cr...@gmail.com wrote: Fastest fix ever! I don't see it yet in master or 2.15.x branch, was just wondering where the problem was. -- View

Re: using Existing jetty server

2015-07-10 Thread Grzegorz Grzybek
Hello You should take a look at pax-web project[1]. It implements OSGi HTTP service spec and you can use it in OSGi-way. Simply register your servlets as OSGi services. It may be used with Camel as well of course. regards Grzegorz Grzybek --- [1]:

Re: Need help in running camel in raspberry pi

2015-07-10 Thread Parul
Hi Henryk and Christain, Sorry for the late reply. I missed the reply and hence could not follow up. I apologies for the late reply. The LWM2M branch of Kura was broken, but it was resolved by David recently. Hence I used the Kura LWM2M branch. As requested by Christian kindly find the attached

Re: java.net.URISyntaxException using recipientList

2015-07-10 Thread Marco Crivellaro
Thanks for the feedback, much appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/java-net-URISyntaxException-using-recipientList-tp5769103p5769126.html Sent from the Camel - Users mailing list archive at Nabble.com.