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

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -