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
Post a Comment