java - Clean way extract path parameters from Camel HTTP endpoints -


ideally have route this:

from("jetty:http://0.0.0.0:8080/{pathparam1}/{pathparam2) 

so consumer able access value using:

exchange.getin().getheader("pathparam1") 

the camel rest component supports need repeat route each request method (get, put, etc.) , not sure if using rest component adds overhead don't need.

i see camel automatically parse out query parameters exchange headers, can find full path , want avoid own parsing.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -