You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Anu <an...@gmail.com> on 2020/02/19 14:24:17 UTC
Camel cxf throwing error - Caused by: java.io.IOException: Cannot find any registered HttpDestinationFactory from the Bus
> Sir,
>
>
>
> Could you please help me with the below query? Details are in the link below.
>
> https://stackoverflow.com/questions/60299126/camel-cxf-throwing-error-caused-by-java-io-ioexception-cannot-find-any-regis
>
>
>
> Used: Camel-cxf version: 2.22.5. (Apache CXF version within camel-cxf: 3.2.5.)
>
>
>
> from( "cxfrs:http://192.168.10.10:9000?resourceClasses=com.service.TestService" )
>
> is throwing error
>
> Caused by: java.io.IOException: Cannot find any registered HttpDestinationFactory from the Bus
>
>
>
> Thanks
>
Anuja B
RE: Camel cxf throwing error - Caused by: java.io.IOException:
Cannot find any registered HttpDestinationFactory from the Bus
Posted by "Gupta, Madhu" <Ma...@USCellular.com>.
Hi
In you .pom xml instead of "cxf-rt-transports-http" can you try with one of them listed below.
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId> cxf-rt-transports-http-jetty </artifactId>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-undertow</artifactId>
</dependency>
Thanks
Madhu Gupta
-----Original Message-----
From: Anu <an...@gmail.com>
Sent: Wednesday, February 19, 2020 8:24 AM
To: users@camel.apache.org
Subject: Camel cxf throwing error - Caused by: java.io.IOException: Cannot find any registered HttpDestinationFactory from the Bus
> Sir,
>
>
>
> Could you please help me with the below query? Details are in the link below.
>
> https://stackoverflow.com/questions/60299126/camel-cxf-throwing-error-caused-by-java-io-ioexception-cannot-find-any-regis
>
>
>
> Used: Camel-cxf version: 2.22.5. (Apache CXF version within camel-cxf: 3.2.5.)
>
>
>
> from( "cxfrs:http://192.168.10.10:9000?resourceClasses=com.service.TestService" )
>
> is throwing error
>
> Caused by: java.io.IOException: Cannot find any registered HttpDestinationFactory from the Bus
>
>
>
> Thanks
>
Anuja B