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

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Camel
    • Labels:
    • Sprint:
      6.3 Sprint 4 (Mar 28 - Apr 29)

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  stefanutti Antonin Stefanutti
                  Reporter:
                  stefanutti Antonin Stefanutti
                  Tester:
                  Tomáš Turek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: