Hi,
I have two routes in camel context.
first route is for sync and second for async.
i want the response from first route only(from first.jsp)
<camel:camelContext>
<route id="first">
<from uri="jetty:http://0.0.0.0:8192/test/"/>
<setExchangePattern pattern="InOut"/>
<to
uri="http://localhost:8080/app/jsp/first.jsp?bridgeEndpoint=true"/>
<to uri="nmr:async"/>
</route>
<route id="second">
<from uri="nmr:async"/>
<setExchangePattern pattern="InOnly"/>
<to
uri="http://localhost:8080/app/jsp/second.jsp?bridgeEndpoint=true"/>
</route>
</camel:camelContext>
i am getting below exception while executing because of my endpoint is
changing dynamically(adding "/test" automatically).
org.apache.camel.component.http.HttpOperationFailedException: HTTP operation
failed invoking http://localhost:8080/app/jsp/second.jsp/test/ with
statusCode: 404
Thanks in advance for your help...
--
View this message in context:
http://camel.465427.n5.nabble.com/modifying-endpoint-tp5731360.html
Sent from the Camel - Users mailing list archive at Nabble.com.