Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Explained
    • Affects Version/s: FIS 2.0
    • Fix Version/s: Future
    • Component/s: FIS-Camel
    • Labels:
      None

      Description

      A lot of "AutoConfiguration" classes require only single CamelContext:

      2016-11-10 16:59:26 ERROR LoggingFailureAnalysisReporter:42 - 
      ***************************
      APPLICATION FAILED TO START
      ***************************
      Description:
      Parameter 0 of method configureDirectComponent in org.apache.camel.component.direct.springboot.DirectComponentAutoConfiguration required a single bean, but 2 were found:
      	- message-bus-pattern: defined in null
      	- message-bus-pattern-receiver: defined in null
      Action:
      Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed
      

      Is it possible to do something like this?

      <beans xmlns="http://www.springframework.org/schema/beans">
        <camelContext id="context1" xmlns="http://camel.apache.org/schema/spring" primary="true">
         ...
        </camelContext>
        <camelContext id="context2" xmlns="http://camel.apache.org/schema/spring">
         ...
        </camelContext>
      </beans>
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jondruse Jiri Ondrusek
                  Reporter:
                  mbasovni Martin Basovnik
                • Votes:
                  2 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: