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

Camel container is too long to start

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      A classic mailet container takes up to 1 s to load on a warm JVM.

      Fast startup is critical for our testing strategy (relying heavily on integration tests). We should make camel container loading faster.

      Ideas:

      • Some parameters are passed to components via dynamically generated properties, on a per call basis. This is inefficient and can be passed by a constructor.
      • Many classes used in CamelMailetContainer are not static
      • We finally can heavily simplify the logic expressed in Camel DSL, and express it through a split - process way, instead of relying on camel choices.

      We should measure the effect on boot time, and run Gatling SMTP test to evaluate the impact on delivery.

      Attachments

        Activity

          People

            aduprat Antoine Duprat
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: