camel-esper endpoint will not load any esper config file even the default one

Description

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?
2.8.0
On what operating system?
Windows

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.

Environment

any

Activity

Show:
Christoph Emmersberger
January 9, 2014, 8:41 PM

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

Christoph Emmersberger
January 9, 2014, 10:43 PM

Resolved for default config

Christoph Emmersberger
January 10, 2014, 10:51 AM

Reopened, since the default config is now required

Christoph Emmersberger
January 10, 2014, 1:07 PM

Applied fix by introducing option for default configuration

Commit: f8e7e2ccc5f32400e5916ed08cf5870cf50c848e [f8e7e2c]
Parents: 860734475c
Author: cemmersb <cemmersb@gmail.com>
Date: 10 Jan 2014 14:01:10 GMT+1

Assignee

Christoph Emmersberger

Reporter

Christoph Emmersberger

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure