I understand that inbound REST path parameters are getting automatically mapped to Camel headers. The problem I suspect that this mechanism might get exploited, overwriting Camel headers which might be required for routes to work (like the Host header for an outbound CXFRS endpoint, to name an example), or get conflicting with them at least.
Why doesn't Camel handle REST path parameters for the request somewhere completely separately of Camel headers which in many cases are absolutely required for correct Camel component behaviour? How can one avoid conflicts between the two using the same name, or in worst case avoid this becoming a security issue?