Re: Periodic route activation use case

2012-08-26 Thread Ashwin Pejavar
Thank you for the prompt response guys. I think I have at least three interesting leads, and I am pretty sure at least one will work 1) Use sendEmptyMessageWhenIdle in the route and pause the route when an empty message is detected 2) Extend the DefaultPollingConsumerPollStrategy and override th

Re: Camel-Spring-Security with CXF Web Service does not receive Authentication header

2012-08-26 Thread Willem jiang
On Monday, August 27, 2012 at 12:28 AM, dm...@gmx.de wrote: > Hello again, > > as before: I'm using Camel 2.10.0 (Java 1.6), and I'm having two issues with > the Camel-Spring-Security component. > > The first one should be an easy one. It seems like the following dependency > is missing whe

Error loading spring camel context (type mismatch)

2012-08-26 Thread nicosommi
I'm using Fuse IDE (Eclipse) on a little project with a spring camel context, one route, and one test. I put an extra xml for defining test execution environment. When I run the test, it fails with type mismatch loading the context bean info (when instantiating PropertyDescriptor class of the bean

Shutting down my Camel Application

2012-08-26 Thread gilboy
Hi I have a standalone application which embeds Camel. Most of the development is complete at this point and I have started to think about how best to manage the starting and stopping of the application. The application will needs to be stopped and started each day. I need to use a scheduler tool

Camel-Spring-Security with CXF Web Service does not receive Authentication header

2012-08-26 Thread dms79
Hello again, as before: I'm using Camel 2.10.0 (Java 1.6), and I'm having two issues with the Camel-Spring-Security component. The first one should be an easy one. It seems like the following dependency is missing when adding camel-spring-security to the pom: org.springframework.secu

Re: Periodic route activation use case

2012-08-26 Thread Pontus Ullgren
Hello, I do not agree with you. Declarative route definitions is available in pretty much all integration platforms/frameworks. The real good thing I find with Camel is the possibility to start/stop routes, build dynamic routes and even add new routes in runtime using different DSL. >In the c

XMLSecurity key recovery fails when keystore and key use different passwords

2012-08-26 Thread dms79
Hello, I'm using Camel 2.10.0 (Java 1.6) with XMLSecurity in a route like this: http://www.w3.org/2001/04/xmlenc#aes128-cbc"; keyCipherAlgorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"; recipientKeyAlias="dummy" keyOrTrustStoreParametersId="dummyStore" /> Keygeneration: keytool -ge

Re: Periodic route activation use case

2012-08-26 Thread Karolis Petrauskas
Hi, My question is maybe not related to the topic directly, but I would like to get your opinions. Is it good approach to design applications in a way that the routes are dynamically started and stopped? As I understand, one of the good points about Camel routes is that they are declarative. T

Re: Periodic route activation use case

2012-08-26 Thread Claus Ibsen
On Sun, Aug 26, 2012 at 9:14 AM, Pontus Ullgren wrote: > Hello, > > You can combine the CronScheduledRoutePolicy with the use of the > sendEmptyMessageWhenIdle option of the file component [1]. > You will then get a empty message when there are no more files left > and you can then suspend or stop

Re: Periodic route activation use case

2012-08-26 Thread Claus Ibsen
On Sat, Aug 25, 2012 at 7:13 PM, Ashwin Pejavar wrote: > I have a use-case where I need to consume files at a fixed cron schedule. > > For example, I need my input route to resume everyday at 6AM, process all > files collected in the input directory and go into suspension till 6AM the > following

Re: Periodic route activation use case

2012-08-26 Thread Pontus Ullgren
Hello, You can combine the CronScheduledRoutePolicy with the use of the sendEmptyMessageWhenIdle option of the file component [1]. You will then get a empty message when there are no more files left and you can then suspend or stop [2] the route. [1] http://camel.apache.org/file2.html [2] http://