Re: Is apache-camel supports nested route

2014-03-03 Thread abkrt
Thank you very Robert Simmons for you valuable reply. Still I have one issue, with above solution it will create multiple files based on split size. How can I avoid this and encrypt into single file. For that I had used "onCompletion" mechanism. I enhanced the initial design with your feedback. B

Re: JMS connections survive undeployment

2014-03-03 Thread Claus Ibsen
Hi See lifecycle http://camel.apache.org/lifecycle Its better to do your logic in doStart|doStop or doShutdown of the component class. On Sun, Mar 2, 2014 at 10:10 PM, helander wrote: > Would something like this work ? > > In my custom camel component I will create and start the pool in the >

Re: camel proxy with headers

2014-03-03 Thread Claus Ibsen
Hi Read about bean parameter binding, and how you can use annotations to specify what is what. On Sun, Mar 2, 2014 at 8:39 PM, geddamsatish wrote: > Hi , > Im using camel proxy to call an endpoint in camel say direct:say. > > public interface xyz{ > public void sayhello(String body,??); > }

Re: how to do redelivery message

2014-03-03 Thread Claus Ibsen
Hi Just use a bean that calls the other bean. And if the return value is null, then call the bean again - eg in a while loop etc. On Mon, Mar 3, 2014 at 7:27 AM, simafengyun wrote: > Hi, > > If I can checked the null value returned in the below step, I can call it > step1, it should works. > >

How to add additional component to camel-cdi?

2014-03-03 Thread Charlie Mordant
Hi Camel folks, I'm trying to work with camel-cdi. After some try, I succeed to reference default camel-cdi context in a bean with @ContextName annotation (this bean uses @Consume and @Produce annotations). I'm now locked with adding camel components (jms in this case) into this camel context:

Re: JMS connections survive undeployment

2014-03-03 Thread helander
Claus, that looks great. I was trying to find something like this but did not find it. Thanks for pointing this out :) /Lasse -- View this message in context: http://camel.465427.n5.nabble.com/JMS-connections-survive-undeployment-tp5748197p5748240.html Sent from the Camel - Users mailing list

Re: JMS connections survive undeployment

2014-03-03 Thread helander
Just reporting that it is now a total success :) I added a doStop method in my component and in that method I just call destroy() on the CachingConnectionFactory object. Thanks for pointing out the solution /Lasse -- View this message in context: http://camel.465427.n5.nabble.com/JMS-connec

Error while deploying jdbc connection program(Unable to resolve 276.0: missing requirement osgi.wiring.package; )

2014-03-03 Thread vs_mahesh
Hi all, I am getting error while deploying a jdbc connection establishment program. My camel-context file is beans xmlns="http://www.springframework.org/schema/beans"; xmlns:beans="http://www.springframework.org/schema/beans"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:osgi="http

Re: Error while deploying jdbc connection program(Unable to resolve 276.0: missing requirement osgi.wiring.package; )

2014-03-03 Thread Claus Ibsen
Hi Have you install spring-jdbc first? I think the command is: features:install spring-jdbc On Mon, Mar 3, 2014 at 2:49 PM, vs_mahesh wrote: > Hi all, > > I am getting error while deploying a jdbc connection establishment program. > My camel-context file is > > beans xmlns="http://www.springfra

Re: Error while deploying jdbc connection program(Unable to resolve 276.0: missing requirement osgi.wiring.package; )

2014-03-03 Thread vs_mahesh
Its working now.Thank you. - Thanks And regards, Mahesh -- View this message in context: http://camel.465427.n5.nabble.com/Error-while-deploying-jdbc-connection-program-Unable-to-resolve-276-0-missing-requirement-osgi-wirin-tp5748248p5748251.html Sent from the Camel - Users mailing list arc

Re: zip file best practices

2014-03-03 Thread Jakub Bubin
Hi Guys, I spent a day or two trying the zip component. Finally got it working, but I think there is still one thing to cover in this component: recursive reading entries from zip package. Use case: I want to unzip .zip file which contains many files and process them separately. But files in pack

Re: zip file best practices

2014-03-03 Thread Henryk Konsek
> I spent a day or two trying the zip component. Finally got it working, Yeah, Zip File component need some improvements. It lacks some functionality and is sometimes a bit unintuitive in a usage. > but I > think there is still one thing to cover in this component: recursive reading > entries fro

Re: zip file best practices

2014-03-03 Thread Jakub Bubin
W dniu 2014-03-03 15:47, hekonsek [via Camel] pisze: > > I spent a day or two trying the zip component. Finally got it working, > > Yeah, Zip File component need some improvements. It lacks some > functionality and is sometimes a bit unintuitive in a usage. Good to hear that I was right with my g

Re: Is apache-camel supports nested route

2014-03-03 Thread kraythe .
You need to look into an aggregator to combine different exchanges into one. One of the most valuable references you will find in the camel world is the EIP reference. http://camel.apache.org/enterprise-integration-patterns.html That page gives you a mapping as to how many, if not most, problems ar

Apache CXF : NullPointerException

2014-03-03 Thread ranjitkumarm
Hi, I was trying to expose a web service using Apache Camel (2.12.3) and Apache CXF (2.7.10). My route configuration is as follows, I am running this on a jetty server which I embedded in my custom application. I am getting the following error on startup, Has anybody encountered this befor

using CSV Bindy data format

2014-03-03 Thread cgsk
Hi there, I am using bindy component for converting Java Pojo to csv file. I am using @CsvRecord(separator = ",", quote = "\""). But I want to omit quotes for empty fields. Is there a way to do this in Bindy component? Thanks in advance. -- View this message in context: http://camel.465427.n5

Re: Apache CXF : NullPointerException

2014-03-03 Thread Charlie Mordant
Hi Ranjit, Any trace or snippet? I'm running cxf 2.7.10 and Camel 2.12.3 with success on Karaf (which embeds Jetty). Regards, 2014-03-03 18:02 GMT+01:00 ranjitkumarm : > Hi, >I was trying to expose a web service using Apache Camel (2.12.3) and > Apache CXF (2.7.10). > My route configuratio

Re: using CSV Bindy data format

2014-03-03 Thread kraythe .
Check out the camel bind page. It has information on how to accomplish that. :) Apache Camel: Bindy

Re: Is apache-camel supports nested route

2014-03-03 Thread abkrt
Thank you very much for your valuable comments. -- View this message in context: http://camel.465427.n5.nabble.com/Is-apache-camel-supports-nested-route-tp5748061p5748264.html Sent from the Camel - Users mailing list archive at Nabble.com.