Re: NoSuchComponentException in CamelContext during Karaf Shutdown

2013-05-06 Thread Tobias Hofer
Hello everybody, I did some more tests and found out, that the described issue does not exist in a setting with Karaf 2.2.11 and Camel 2.10.4. I suggest to open a bug for Camel 2.11. Regards, Tobias - Original Message - > From: "Tobias Hofer" > To: users@camel.apache.org > Sent: Thursd

Re: Exception running a simple websocket with Camel component on Jetty

2013-05-06 Thread soumya_sd
I posted a solution (not perfect but works) on the Stackoverflow thread in case someone is interested or faces the same issue in the future. -- View this message in context: http://camel.465427.n5.nabble.com/Exception-running-a-simple-websocket-with-Camel-component-on-Jetty-tp5732046p5732105.h

Re: Question about Camel end() and endChoice() expressions

2013-05-06 Thread Claus Ibsen
Hi A good idea is to use the search box on the Camel front page Then you can type in eg: endChoice and read the links On Mon, May 6, 2013 at 2:28 PM, nikagra wrote: > Hello > > I have question about end() and endChoice() expressions. Here is how my > route looks like: > Some XML-->split-->cont

Re: Exception handling for camel-ftp

2013-05-06 Thread Claus Ibsen
Its the FTP server that returns the errors. So you should go look for the FTP error codes. There is some standard codes. So google and find them. And as said you can use getCode on the exception to get the code, and use that in your check instead of the error message text. On Mon, May 6, 2013 at

How to replace hard coded URIs?

2013-05-06 Thread Al Ferguson
Hi, I defined the following route that works very well. However, I have to read the URIs of the 3 services from ZooKeeper nodes. How to replace the 3 hard coded URIs in the initial route by value nodes read from Zookeeper? Thanks -- View this message in context: http://camel.465427.n5.nabbl

DefaultClassResolver and schemes

2013-05-06 Thread richardgroote
Hello, In our project we'd like to resolve uri within the camel configuration. For instance . It's not possible to resolve the resources through file, classpath, etc. We created an extension on the org.apache.camel.impl.DefaultClassResolver and override the method loadResourceAsStream with our ow

Sql Component insert with batch=true, Camel 2.11

2013-05-06 Thread kalber
Hi, i'm working on an Oracle-DB 10.2.0.1.0 and using ojdbc6.jar. Using the Sql component it works inserting record with the this. configuration : @Override public void configure() throws Exception { from("direct:infor.insert.ipnl_passages") .to("s

Re: cxf:rsClient 2way SSL

2013-05-06 Thread jasonor
Thanks Sergey, much appreciated! -- View this message in context: http://camel.465427.n5.nabble.com/cxf-rsClient-2way-SSL-tp5731991p5732072.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Exception handling for camel-ftp

2013-05-06 Thread sarfaraj
I can see one more exception now org.apache.camel.component.file.GenericFileOperationFailedException: File operation failed: Connection closed without indication How can I confirm that all exception covered using Its very difficult for me to find all . Can someone tell me what is the best way

Re: How can Shiro be used with camel to limit access to a route?

2013-05-06 Thread jethwani.bi...@gmail.com
Does it makes sense to have alwaysReauthenticate set from shiro.ini [main] block? I believe seeing the ShiroSecurityPolicy.java code that it won't pick that setting from ini file for now. -- View this message in context: http://camel.465427.n5.nabble.com/How-can-Shiro-be-used-with-camel-to-limi

Re: What the main Difference between Stoppping the Route and Suspending the Route

2013-05-06 Thread Dayakar
-- View this message in context: http://camel.465427.n5.nabble.com/What-the-main-Difference-between-Stoppping-the-Route-and-Suspending-the-Route-tp5732059p5732068.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: What the main Difference between Stoppping the Route and Suspending the Route

2013-05-06 Thread Dayakar
Hi, Thanks for your Reply I Have gone through the link which you suggested. But i have some doubts regarding Stop and suspending the route. I Have a Route with following Code from("jms:queue:JobQueue") .routeId(getName()) .process(new JobProcessor(

add bean to registry in custom endpoint?

2013-05-06 Thread javamonkey79
Can you add a custom bean to the registry in a custom endpoint? I'd like to be able to add some default beans to the registry in my custom endpoint, is this possible? I can see that I can get the camel context from the endpoint, and I can get the registry from the camel context - but the registry

Question about Camel end() and endChoice() expressions

2013-05-06 Thread nikagra
Hello I have question about end() and endChoice() expressions. Here is how my route looks like: Some XML-->split-->continue processing XML structure is like: V. LeninSoviet Russia, Moscow, Kremlin Here is part of my route: .split(xpath("/person/*")) .convertBodyTo(String.class) .

Re: REST Proxy Service

2013-05-06 Thread vizaac
Hi All, Please reply, I really need some help here -- View this message in context: http://camel.465427.n5.nabble.com/REST-Proxy-Service-tp5731827p5732077.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: ftpConsumer still remain in threadpools (seen in javaVisual JVM>Beans>org.apache.camel>threadPools)

2013-05-06 Thread dtjep
Hi, Problem resolved by creating my own FtpConsumer. Best regards, Dtjep -- View this message in context: http://camel.465427.n5.nabble.com/ftpConsumer-still-remain-in-threadpools-seen-in-javaVisual-JVM-Beans-org-apache-camel-threadPools-tp5730976p5732076.html Sent from the Camel - Users mailin

Re: What the main Difference between Stoppping the Route and Suspending the Route

2013-05-06 Thread mdo
Dayakar wrote > Can you please explain the exact when we need to use stopRoute(id) and > suspendRoute(id) with an examples Have a look at this thread: http://camel.465427.n5.nabble.com/2-11-File2-Quartz-threads-leaking-td5731922.html Obviously there are some pitfalls and I think in essence you sh

Re: Exception handling for camel-ftp

2013-05-06 Thread sarfaraj
Currently i am aware of these two only. I dont know others if any -- View this message in context: http://camel.465427.n5.nabble.com/Exception-handling-for-camel-ftp-tp5732051p5732065.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Exception handling for camel-ftp

2013-05-06 Thread sarfaraj
Yes I want to do in XML only. Adding below two lines will cover these two exception. But I am not sure about other (all) FTP related exception. Basically I need a list, what all exception will occur in case of FTP used. So i can add that exception in org.apache.camel.component.file.GenericFileO

Re: Sftp bug in Camel 2.11.0

2013-05-06 Thread Bengt Rodehav
JIRA created: https://issues.apache.org/jira/browse/CAMEL-6335 /Bengt 2013/5/6 Bengt Rodehav > Hello Hadrian, > > I'm not really interested in the blame issue. I'm really glad that there > are so many competent people developing Camel which I think is a great > product. It might be interestin

Re: What the main Difference between Stoppping the Route and Suspending the Route

2013-05-06 Thread Claus Ibsen
Hi See this page http://camel.apache.org/lifecycle On Mon, May 6, 2013 at 8:54 AM, Dayakar wrote: > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/What-the-main-Difference-between-Stoppping-the-Route-and-Suspending-the-Route-tp5732059.html > Sent from the Camel -