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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -