Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-1991

Camel routing properties leak out from service implementation routes

    Details

      Description

      We need to be careful about the properties propagated between Camel service routes and the internal bus routes that connect services in SwitchYard. For example, error handling properties set on an exchange in a user's Camel service route should not be mapped into the Camel bus route within SY by ExchangeMapper. See forum reference for additional info.

      ExchangeMapper.mapCamelToSwitchYard() :
      https://github.com/jboss-switchyard/components/blob/master/camel/camel-switchyard/src/main/java/org/switchyard/component/camel/ExchangeMapper.java#L52

      Suggest a two-part approach to this problem:
      1) Add startsWith("Camel") to the list of reserved properties not copied in ExchangeMapper (possibly add this to ContextPropertyUtil).
      2) Allow routing implementations to be configured to allow certain "Camel*" properties to flow through as an override (e.g. CamelFileName).

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kcbabo Keith Babo
                  Reporter:
                  kcbabo Keith Babo
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Due:
                    Created:
                    Updated:
                    Resolved: