Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-752

Resolution of languages does a look up in the Camel Registry for each occurrence which affects performance

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.12.0.redhat-61379
    • None
    • None
    • None

    Description

      If you have a route which does the following:

      <route id="SimpleTestRoute">
                  <from uri="jetty:http://0.0.0.0:9876/dummyTarget" />
                  <setHeader headerName="Content-Type">
                      <constant>text/plain</constant>
                  </setHeader>
                  <bean ref="testProcessor" method="process1('1')" />
                  <bean ref="testProcessor" method="process1('1')" />
                  <bean ref="testProcessor" method="process1('1')" />
                  <bean ref="testProcessor" method="process1('1')" />
                  <bean ref="testProcessor" method="process1('1')" />
                  <bean ref="testProcessor" method="process1('1')" />
                  <bean ref="testProcessor" method="process1('1')" />
                  <bean ref="testProcessor" method="process1('1')" />
                  <setBody>
                      <constant>Working</constant>
                  </setBody>
              </route>
      

      The simple script needs to be resolved in the Camel Registry for each bean causing performance degradation.

      If possible, can static resolution of languages be incorporated into Camel?

      Attachments

        Activity

          People

            cibsen@redhat.com Claus Ibsen
            rhn-support-jsherman Jason Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: