camel-esper endpoint will not load any esper config file even the default one
What steps will reproduce the problem?
1. Create default esper.cfg.xml in your path containing event-type alias
2. Add esper endpoint into some route in spring configuration
3. execute a query (either using that endpoint or as endpoint containing EQL) that references the event-type alias
What is the expected output?
Query to be executed
What do you see instead?
Error message, that it cannot resolve teh event-type.
When debugging, I see, that it never calls Configuration.configure() method, that would actually load it.
What version of the product are you using?
On what operating system?
Please provide any additional information below.
This method actually causes that new configuration is created, but .configure() method is not called. Configuration location might be passed as a parameter of the component or try the default location.
Applied fix by introducing option for default configuration
Commit: f8e7e2ccc5f32400e5916ed08cf5870cf50c848e [f8e7e2c]
Author: cemmersb <email@example.com>
Date: 10 Jan 2014 14:01:10 GMT+1
Reopened, since the default config is now required
Resolved for default config
Commit dd8d292353f0ed0d74c40041eb2d09a84290d58b enables the handling of default configuration for 'esper.cfg.xml'
If others need will be required an extension of the endpoint will be necessary