camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7641) Allow UoW to have callbacks for before/after routing
Date Sun, 27 Jul 2014 08:54:38 GMT
Claus Ibsen created CAMEL-7641:
----------------------------------

             Summary: Allow UoW to have callbacks for before/after routing
                 Key: CAMEL-7641
                 URL: https://issues.apache.org/jira/browse/CAMEL-7641
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.14.0


As this makes it easier to add custom logic to be executed before any routing happens. And
when the routing is done. But before any consumer will write any response back to clients.

As today the UoW done callback happens after the consumer has written the response. But there
are situations where you want more fine grained callbacks.

This also allows us to add into the DSL a way for end users to do a reverse of interceptFrom,
(maybe interceptAfterRoute, interceptAfterFrom or some good name) so people can easily add
any custom logic to be executed after the routing is done, but before any response is being
written. For example to add special headers or something.





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message