Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5375

Avoid creating an empty default Camel context in Camel CDI

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.3
    • None
    • Camel
    • % %
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

      Camel CDI automatically deploys a Camel context to avoid user having to explicitly declare one.

      However, if the user mis-configures her/his application so that there is no route nor any other active components configured (like consumers), that leads to having an empty Camel context started.

      Besides, in Camel WildFly, the subsystem automatically deploys the Camel CDI extension even in the case the user does not intent to use it, which leads to having an empty Camel context started.

      In both cases, the Camel CDI extension could rely on an heuristic (no routes, no consumers, ...) to avoid deploying that empty Camel context.

            astefanu@redhat.com Antonin Stefanutti
            astefanu@redhat.com Antonin Stefanutti
            Tomas Turek Tomas Turek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: