camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mabahma <>
Subject Re: Camel CXF Exception-Fault Handling
Date Wed, 08 Aug 2012 14:30:11 GMT
hi Willem

thank you for answering

this is m y route :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<route id="route" xmlns="">
<from uri="cxf:bean:mybean" />
<to uri="processor" />

CXF endpoint is in POJO mode :

<cxf:cxfEndpoint id="mybean" address="http://localhost:9000/services"

			<ref bean="loggingOutInterceptor" />
			<entry key="dataFormat" value="POJO" />


and the processor
<bean id="processor"

so i send a request to CXF endpoint like this :

 MessageContentsList messageContentsList = (MessageContentsList)
 template.requestBodyAndHeaders( uri,message)); 

, and when there is some Exceptions on the server, i get an empty message..

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message