Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-842

Inconsistencies in spring integration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • None
    • None

    Description

      I've found a couple inconsistencies in the spring integration:

      in AvalonConfigurationFileProvider InputSource is supplied a systemId for the james config files whereas in AvalonBeanDefinitionReader it is not. In my scenario this means that the entities in james-config.xml don't work because for AvalonConfigurationFileProvider the entities are resolved relative to the james-config.xml file location whereas for AvalonBeanDefinitionReader they are resolved relative to some base directory.

      There's a FileSystem bean supplied to spring to locate stuff in the file system but it is not used in AvalonConfigurationFileProvider; AFAICT this means that configuration files must be in the classpath.

      Attachments

        1. JAMES-842.patch
          5 kB
          David Jencks
        2. JAMES-840-2.patch
          17 kB
          David Jencks
        3. JAMES-842-3.patch
          4 kB
          David Jencks
        4. JAMES-842-2.patch
          4 kB
          David Jencks

        Issue Links

          Activity

            People

              bago Stefano Bagnara
              djencks David Jencks
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: