You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/07/28 16:49:38 UTC

[jira] [Resolved] (CAMEL-7641) Allow UoW to have callbacks for before/after routing

     [ https://issues.apache.org/jira/browse/CAMEL-7641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-7641.
--------------------------------

    Resolution: Fixed

Logged a new ticket about the interceptor idea

> 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)