Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-9498

Always provide a writable local registry

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-M2, 3.0.0
    • camel-core
    • None
    • Unknown

    Description

      Many Camel components need to reference objects in CamelContext's registry as part of their configuration (for example httpClientConfigurer for http/http4 and restletRealm for restlet).

      These objects often apply to that particular CamelContext and not others, thus the registry holding these bits could be local instead of, say, OSGi service registry. Using a local registry prevents the risk of conflicting keys and spares us from devising a naming policy for even trivial stuff.

      To conveniently create and add these objects, even from inside RouteBuilder's configure method, we need write access to said registry.

      CamelContext should, in my opinion, provide a local SimpleRegistry that is always available.

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              yuruki Jyrki Ruuskanen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: