Dietrich Schulten created CAMEL-16449:
-----------------------------------------

             Summary: Make Exchange available to ServiceFilter
                 Key: CAMEL-16449
                 URL: https://issues.apache.org/jira/browse/CAMEL-16449
             Project: Camel
          Issue Type: Improvement
          Components: camel-spring-boot
    Affects Versions: 3.9.0
            Reporter: Dietrich Schulten


It would be useful to make the current exchange available to the 
{{org.apache.camel.cloud.ServiceFilter}} interface.

The service filter could use data from the current exchange to decide which 
service instance is capable of handling the request.

Workaround: use a ThreadLocal to store the required data and access them from a 
custom service filter.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to