I am trying to route a HTTP request from
http://mycompany.com:8080/Shopping?. to
http://myservice.com:80/ws/svc/Shopping?. which is my service end-point.
Here is example of the code:
public class ShopRoute extends RouteBuilder {
private CamelContext camelContext;
You are right. I turn on debug logging and I see what is happening. I have
the following producer and consumer endpoints. Camel matches on the Consumer
endpoint correctly (case insensitive) but the producer URL is created like:
http://myapp.com:80/ws/svc/Shopping/shopping?callname=... (path is now
I am using Camel netty4-http and want to create Consumer EndPoint which is
matches on case insensitive URI path. For example:
camelContext.getEndpoint("netty4-http:http://0.0.0.0:8080/Shopping";);
or
camelContext.getEndpoint("netty4-http:http://0.0.0.0:8080/shopping";);
How can I do that?
--
Filed JIRA https://issues.apache.org/jira/browse/CAMEL-8693
Thank very much for reply and support.
--
View this message in context:
http://camel.465427.n5.nabble.com/URISyntaxException-Invalid-uri-syntax-Trailing-marker-found-tp5766256p5766308.html
Sent from the Camel - Users mailing list arch
I am using camel netty4-http and getting the following exception because the
query string my server is receiving ends with '&'. Since I cannot control
the URLs my server receives, I need to get around this issue. As far as I
know most sites simply ignore the trailing & at the end of query string.