cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmoulliard <cmoulli...@gmail.com>
Subject Apache CXF - Camel wiki page : clarification requested
Date Thu, 25 Feb 2010 13:09:48 GMT

Hi, 

The cxf camel wiki page introduces the following CXF concepts which are not
well described / explained. Can someone provide more info in order to
improve the documentation please ?

Concepts to be clarified

- PRE-STREAM
- IN-BAND
- OUT-BAND

Coming from this part of the camel doc

CXF's LoggingOutInterceptor outputs outbound message that goes on the wire
to logging system (Java Util Logging). Since the LoggingOutInterceptor is in
PRE_STREAM phase (but PRE_STREAM phase is removed in MESSAGE mode), you have
to configure LoggingOutInterceptor to be run during the WRITE phase. The
following is an example.

   <bean id="loggingOutInterceptor"
class="org.apache.cxf.interceptor.LoggingOutInterceptor">

        <!--  it really should have been user-prestream but CXF does have
such phase! -->
        <constructor-arg value="write"/> 

   </bean>
   		
<cxf:cxfEndpoint id="serviceEndpoint"
address="http://localhost:9002/helloworld"

	serviceClass="org.apache.camel.component.cxf.HelloService">
	<cxf:outInterceptors>
	    <ref bean="loggingOutInterceptor"/>

	</cxf:outInterceptors>
	<cxf:properties>
		<entry key="dataFormat" value="MESSAGE"/>

	</cxf:properties>
</cxf:cxfEndpoint>

Description of relayHeaders option

There are in-band and out-of-band on-the-wire headers from the perspective
of a JAXWS WSDL-first developer.

The in-band headers are headers that are explicitly defined as part of the
WSDL binding contract for an endpoint such as SOAP headers.

Kind regards,

Charles

-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: http://old.nabble.com/Apache-CXF---Camel-wiki-page-%3A-clarification-requested-tp27714418p27714418.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message