You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dietrich Schulten (Jira)" <ji...@apache.org> on 2021/04/04 18:21:00 UTC

[jira] [Created] (CAMEL-16449) Make Exchange available to ServiceFilter

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)