Rest path gets printed with 3 '/'s on karavan #1260
Replies: 2 comments 1 reply
-
@davsclaus could you please provide your input for this??? |
Beta Was this translation helpful? Give feedback.
0 replies
-
this is not a karavan specific question but general camel |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ask a question
I created a route that takes in request through REST component as follows on karavan.
When I make call to this url from postman - http://localhost:8080/CustomerDemographic and read endpoint to log to my DB by this line of code :
String fromUri = exchange.getFromEndpoint().getEndpointBaseUri();
I was getting "platform-http:///CustomerDemographic". I know karavan uses platform-http, but I don't know why I see 3 '/'s in the url instead of one.
When I use servlet as the rest component in my camel-spring boot code, I see it correctly -> servlet:/CustomerDemographic.
But, It is different on karavan.
Best Regards,
MN. Dheeraj
Variant
Vs Code Extension
Container Management (if applicable)
None
Operating System (if applicable)
Windows
Version
4.4.0
Beta Was this translation helpful? Give feedback.
All reactions