Uploaded image for project: 'WINDUPRULE - Red Hat Application Migration Toolkit rules'
  1. WINDUPRULE - Red Hat Application Migration Toolkit rules
  2. WINDUPRULE-391 Rules for Camel 2 to 3.0 migration
  3. WINDUPRULE-393

MULTIPLE CAMELCONTEXTS PER APPLICATION NOT SUPPORTED - 'context' attribute removed

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 4.3.1.Final
    • None
    • None
    • None
    • MA Sprint 16, MA Sprint 17, MA Sprint 18, Sprint 19, Sprint 20, Sprint 21, Sprint 22

      Implement rules from https://camel.apache.org/manual/latest/camel-3-migration-guide.html#_multiple_camelcontexts_per_application_not_supported
      List of classes where context has been removed available in https://github.com/apache/camel/commit/87998250fb56e561643e192874ba00c5ff3a1b9c

      When
      The context field from a org.apache.camel.{class} annotation has been used
      Perform
      Add an hint to remove it with:

      Where
      {class} matches pattern="(BeanInject|Consume|DynamicRouter|EndpointInject|Produce|PropertyInject|RecipientList|RoutingSlip)"

              mrizzi@redhat.com Marco Rizzi
              mrizzi@redhat.com Marco Rizzi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: