When I define a method in an interface that returns a checked exception and
use camel:proxy via a http component I get a HttpOperationFailedException at
the client and I cannot access the exception that was raised at the server.
This is my servlet:
<camelContext id="myCamelContext"
xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="servlet:///hello"></from>
<to uri="bean:helloServiceImpl"></to>
</route>
</camelContext>
<bean id="helloServiceImpl" class="bla.bla.HelloServiceImpl">
</bean>
This is my client:
<camel:camelContext>
<camel:template id="camelTemplate" />
<camel:proxy id="httpService"
serviceInterface="bla.bla.HelloService"
serviceUrl="direct:hello" />
<camel:route>
<camel:from uri="direct:hello" />
<camel:to uri="http:.../http_consumer/camel/hello"
/>
</camel:route>
</camel:camelContext>
--
View this message in context:
http://camel.465427.n5.nabble.com/proxy-using-camel-http-tp3207221p3207221.html
Sent from the Camel - Users mailing list archive at Nabble.com.