camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11711) Camel-example-spring-cloud-servicecall doesn't work out of the box
Date Tue, 12 Sep 2017 13:45:01 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16162954#comment-16162954
] 

Claus Ibsen commented on CAMEL-11711:
-------------------------------------

Yeah I reproduced it as well

However if you call the services directly via
{code}
curl http://localhost:9011/
curl http://localhost:9021/
{code}
you get a response


> Camel-example-spring-cloud-servicecall doesn't work out of the box
> ------------------------------------------------------------------
>
>                 Key: CAMEL-11711
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11711
>             Project: Camel
>          Issue Type: Bug
>          Components: examples
>            Reporter: Andrea Cosentino
>            Assignee: Luca Burgazzoli
>             Fix For: 2.20.0
>
>
> Currently when you try to use the serviceCall (following the provided steps) it fails
with
> {code}
> org.apache.camel.http.common.HttpOperationFailedException: HTTP operation failed invoking
http://localhost:9021/ with statusCode: 404
> at org.apache.camel.component.undertow.UndertowClientCallback.lambda$setupResponseListener$2(UndertowClientCallback.java:232)
> at org.apache.camel.component.undertow.UndertowClientCallback$ErrorHandlingClientCallback.completed(UndertowClientCallback.java:86)
>  at io.undertow.client.http.HttpClientExchange.setResponse(HttpClientExchange.java:125)
> at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:642)
> at io.undertow.client.http.HttpClientConnection$ClientReadListener.handleEvent(HttpClientConnection.java:511)
> at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
> at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)
> at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:88)
> at org.xnio.nio.WorkerThread.run(WorkerThread.java:561)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message