Uploaded image for project: 'Camel Extra'
  1. CAMEX-9

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.11.3, 2.12.1, 2.12.2
    • Fix Version/s: 2.12.3, 2.13.0
    • Component/s: camel-esper
    • Labels:
      None
    • Environment:

      any

    • Sprint:

      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.

          public EPServiceProvider getEsperService() {
                if (esperService == null) {
                    esperService = EPServiceProviderManager.getDefaultProvider();
                }
                return esperService;
            }   
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              cemmersb Christoph Emmersberger
              Reporter:
              cemmersb Christoph Emmersberger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: