You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by fabryprog <fa...@bizmate.it> on 2016/04/07 14:44:54 UTC

Isolating header into route

Hello,

how to force my route to ISOLATING her headers?

I have this flow:

route A1
 - set CamelSqlQuery

route A2
 - set CamelSqlQuery

route B
 - execute sql based on CamelSqlQuery header

Interceptor
 - execute more sql to check permission using own CamelSqlQuery header
 - remove CamelSqlQuery header (to avoid security violation)

Now, when invoke RouteA1 (or RouteA2) followed by RouteB my interceptor
delete my CamelSqlQuery!!!!!!

There are any method to ISOLATE header into any route? It would be a private
java method.

thanks




--
View this message in context: http://camel.465427.n5.nabble.com/Isolating-header-into-route-tp5780684.html
Sent from the Camel - Users mailing list archive at Nabble.com.