Re: Jsypt password encryption with Bridge property place holder

2015-04-08 Thread Andrew Block
Murugan, You can use the JasyptPropertiesParser in combination to the BridgePropertyPlaceholderConfigurer similar to the following unit test example

Re: file:absolute.path is not printing value

2015-04-08 Thread chaituu
thanks claus.it should be after to uri...${header.CamelFileNameProduced} -- View this message in context: http://camel.465427.n5.nabble.com/file-absolute-path-is-not-printing-value-tp5765449p5765491.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: file:absolute.path is not printing value

2015-04-08 Thread Chaitanya Yarlagadda
thanks claus.it should be ${header.CamelFileNameProduced}.. On Wed, Apr 8, 2015 at 10:32 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi You need to start from a file to have all those file mappings, eg from uri=file:.../ The file producer, eg to uri=file: set a header with the name of the

Re: Issue with 'javax.annotation' when installing 'camel' followed by 'cxf' feature

2015-04-08 Thread James Carman
https://github.com/apache/karaf/pull/54 On Wednesday, April 8, 2015, Charlie Mordant cmorda...@gmail.com wrote: Hi James, Unfortunately, the problem is not here: camel karaf feature declares 'xml-specs-api' (jaxb, javax.annotations, stax, activation and so on) with the 2.2.0 version, while

Re: Issue with 'javax.annotation' when installing 'camel' followed by 'cxf' feature

2015-04-08 Thread James Carman
Which JDK are you using to run Karaf? On Mon, Apr 6, 2015 at 3:17 PM, Martin Lichtin lich...@yahoo.com.invalid wrote: In a Karaf 3.0.3 container one cannot install feature 'camel' followed by installing 'cxf'. karaf@root() feature:repo-add

Jsypt password encryption with Bridge property place holder

2015-04-08 Thread govimurugan
Team, Please anybody post working config sample for password encryption with jsypt and bridge property place holder in camel context xml. I need to access the fields from property file in camel as well spring config. Thanks in Adavnce, Murugan -- View this message in context:

Re: How to pass message from activemq queue to cxf client rest

2015-04-08 Thread anas bakhou
In my example , I made a rest client to Jira Rest api so I should use the GEt method !! So that's work very nice if I pass the whole adress url but I want to pass the message in the queue to the url instead of the term TM!! -- View this message in context:

RE: Issue with high volume load in camel

2015-04-08 Thread yogu13
Started 2 contexts together and it worked. Does this mean your issue is resolved? -- View this message in context: http://camel.465427.n5.nabble.com/Issue-with-high-volume-load-in-camel-tp5765430p5765465.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to handle two dimensional arrays

2015-04-08 Thread Divan Mostert
Thanks - I’ll try that. Divan Mostert | Head of iO Development C24.biz M: +264 81 383 2924 E: divan.most...@c24.bizmailto:wayne.mei...@c24.biz On Apr 2, 2015, at 8:03 AM, Willem Jiang willem.ji...@gmail.commailto:willem.ji...@gmail.com wrote: double split? or you can just turn the

Re: BeanIODataFormat giving exception in OSGI compliant Karaf Server Camel

2015-04-08 Thread Claus Ibsen
Hi Yeah but then you would need to use a content based router to route to appropiate data format. You may get it working inside the processor if you call .start on the data format before using it. And also remember to call .setCamelContext on it to do the initialization manually. And then call

Problem to write quotes correct on CSV-fields when marshalling with CsvDataFormat

2015-04-08 Thread hans-christian
Hi all, I'm using CsvDataFormat to unmarshal a csv file, modify some of the fields and then marshal it back to csv again. I only wants to modify a few fields and the let the other one be untouched. Everything works fine but my problem is that I don't get the quotes on my output files as I want.

FTP Reconnect attempt problem

2015-04-08 Thread ekz
Hi, I have a route as below. My problem is about reconnect attempts. I am waiting 1 min for the next poll from ftp with the parameter consumer.delay=6 that is ok, but if the connection fails, expecting 2 min wait before next connection attempt but below code is still using 1 min delay for the

Camel-mongo db does not support multiple mongo DB .

2015-04-08 Thread selva
Hi Team,Our Camel Mongo DB component Doesn't support multiple mongo db instance. By default it uses single Mongodb bean in all the mongo endpoint. Issue: I have created two different mongo bean instance for two database with respective authentication. And two mongodb beans instance are created

Re: BeanIODataFormat giving exception in OSGI compliant Karaf Server Camel

2015-04-08 Thread gargankur007
Hi Claus Is it possible if I can define the formats as Spring beans and then depending upon headers use a particular format to cater/handle the CSV payload -- View this message in context:

Re: FTP Reconnect attempt problem

2015-04-08 Thread ekz
I think i found the problem, The code cannot reach to the sleep(reconnectDelay) because getMaximumReconnectAttempts() is zero. I need maximumReconnectAttempts=0 to work with customPollStrategy to caught exceptions, but need to set reconnectDelay either. Any ideas will be appreciated. //From

How to pass message from activemq queue to cxf client rest

2015-04-08 Thread anas bakhou
I am creating a text message and put it in the activemq queue and i display it in the log. Now i need to pass this message to the cxf rs client to use it as a parameter in the adress. I am using blueprint to define the camel routes and cxf client. *?xml version=1.0 encoding=UTF-8? blueprint

Re: camel-ftp 2.15.1 return ftp error code 421

2015-04-08 Thread alexey-s
It looks like quite a different matter. On the server, there is a restriction session. After 10 minutes, the server connection tearing. No problem in download speed of large files. Disconnection is the fault of the strategy routePolicyStopTime. But it's not scary. The main problem is to read a

Re: How to pass message from activemq queue to cxf client rest

2015-04-08 Thread Sergey Beryozkin
Hi you are setting GET there, should it be POST ? Cheers, Sergey On 08/04/15 15:19, anas bakhou wrote: I am creating a text message and put it in the activemq queue and i display it in the log. Now i need to pass this message to the cxf rs client to use it as a parameter in the adress. I am

Re: Issue with 'javax.annotation' when installing 'camel' followed by 'cxf' feature

2015-04-08 Thread Charlie Mordant
Hi James, Unfortunately, the problem is not here: camel karaf feature declares 'xml-specs-api' (jaxb, javax.annotations, stax, activation and so on) with the 2.2.0 version, while all other Apache projects (openjpa, cxf, amq, and even Karaf) are exporting the 2.4.0 ones. The only solution I found

Event driven producer?

2015-04-08 Thread Christopher Piggott
Does the idea of an 'event driven producer' make sense? One that receives messages/exchange but doesn't necessarily produce one for every input? My input comes in as bytes that need to be assembled. A DefaultProducer seems t have a process() which produces messages 1;1 which is not what I need.