Guest User

Untitled

a guest
Jun 21st, 2017
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.88 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3.        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4.        xmlns:cxf="http://cxf.apache.org/core"
  5.        xmlns:http="http://cxf.apache.org/transports/http/configuration"
  6.        xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
  7.     http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
  8.     http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd">
  9.    
  10.     <http:conduit name="*.http-conduit">
  11.     <!-- not possible to externalize:
  12.     Connection="${cxf.client.connection:Keep-Alive}"
  13.     Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value '${cxf.client.connection:Keep-Alive}'
  14.     is not facet-valid with respect to enumeration '[close, Keep-Alive]'. It must be a value from the enumeration.
  15.      -->
  16.         <http:client
  17.             ConnectionTimeout="${cxf.client.connectTimeout}"
  18.             ReceiveTimeout="${cxf.client.receiveTimeout}"
  19.             AllowChunking="${cxf.client.allowChunking:false}"
  20.             AutoRedirect="${cxf.client.autoRedirect:true}" />
  21.         <!-- Connection="${cxf.connection}" -->
  22.     </http:conduit>
  23.  
  24.     <cxf:bus id="clientbus" name="clientbus">
  25.         <cxf:features>
  26.             <bean class="org.apache.cxf.metrics.MetricsFeature" />
  27.             <!--use this logging feature and not the one in core as this is a lot more extensive and structured (using MDCs), which will make the log indexable for logstash without having to grok -->
  28.             <bean class="org.apache.cxf.ext.logging.LoggingFeature">
  29.                 <property name="prettyLogging" value="${cxf.prettyLogging}" />
  30.                 <property name="sender">
  31.                     <bean class="org.apache.cxf.ext.logging.slf4j.Slf4jEventSender">
  32.                         <constructor-arg value="JAXWSCLIENTPAYLOAD" />
  33.                     </bean>
  34.                 </property>
  35.             </bean>
  36.         </cxf:features>
  37.     </cxf:bus>
  38.        
  39.  
  40. </beans>
Advertisement
Add Comment
Please, Sign In to add comment