Re: camel rest route

2016-02-20 Thread Claus Ibsen
See the rest examples that can help you on the way, such as https://github.com/apache/camel/tree/master/examples/camel-example-cdi-rest-servlet Since you use JEE then you can use CDI to kick-start as that example does. Or you can kick-start using war http://camel.apache.org/tutorial-on-using-came

Error writing file using camel FTP

2016-02-20 Thread farhanrayani
Hi,I am trying to run your example from your examplehttps://github.com/apache/camel/tree/master/examples/camel-example-ftp but I am getting error of Error Writing File. I am using camel version of 2.16.1 for both core and ftp. These are the dependencies I am using just for the reference. Although

camel rest route

2016-02-20 Thread zappee
Hi, Currently I am learning how to use Apache Camel Rest and I would like to ask some questions about it. I would greatly appreciate any answer. I have a rest camel route which is packed in a jar. This jar locates in an ear file and deployed on GlassFish app. server. *Q1:* I am not able to figur

equivalent in Spring JavaConfig

2016-02-20 Thread Marcin Zajączkowski
Hi, Recently I was migrating Camel configuration in one of my Spring-based projects from XML to JavaConfig. The part that took me a while was the ability to add routes. I was creating Spring bean(s) of RouteBuilder with the route(s) defined. Unfortunately they were not discovered by Camel and not

Re: cxf:bean doesn't resolve properties with CamelBlueprintTestSupport

2016-02-20 Thread Quinn Stevenson
I think it’s the startup order. I think the loadConfigAdminConfigurationFile() method was intended to override existing properties - not provide the initial values. When there aren’t any property keys at all in the context, the initial creation fails before the overrides can take effect (by a

Re: cxf:bean doesn't resolve properties with CamelBlueprintTestSupport

2016-02-20 Thread Ephemeris Lappis
Hello. I've done the test with default values, and, surprising, it works ! Somebody could explain why ? Whatever reason, good news : this lets us test our blueprints with Camel 2.16.1 which is the version that comes with our ServiceMix. Thanks a lot ! Regards. -- View this message in context:

Re: cxf:bean doesn't resolve properties with CamelBlueprintTestSupport

2016-02-20 Thread Quinn Stevenson
OK - One other thing on this. If you add some default properties elements in your blueprint, you’re test works as written as well > On Feb 19, 2016, at 3:57 PM, Ephemeris Lappis > wrote: > > Hello. > Indeed, it seems to work with Camel 2.16.2.

Very very newbie question about Camel.

2016-02-20 Thread hoboy
Sorry guys you will not easily get rid of me :) I am really trying to learn camel these days, one will think that with google, youtube what is my problem :) 1. I have JAX-RS resource class called MyResource, MyResource class that I use as webservice and is working fine, as you may know it is easy

Re: expectedMessageCount is not considered

2016-02-20 Thread zappee
Thank you, now I understand it. -- View this message in context: http://camel.465427.n5.nabble.com/expectedMessageCount-is-not-considered-tp5777959p5777965.html Sent from the Camel - Users mailing list archive at Nabble.com.