Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:cxf="http://cxf.apache.org/core"
- xmlns:http="http://cxf.apache.org/transports/http/configuration"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
- http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
- http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd">
- <http:conduit name="*.http-conduit">
- <!-- not possible to externalize:
- Connection="${cxf.client.connection:Keep-Alive}"
- Caused by: org.xml.sax.SAXParseException: cvc-enumeration-valid: Value '${cxf.client.connection:Keep-Alive}'
- is not facet-valid with respect to enumeration '[close, Keep-Alive]'. It must be a value from the enumeration.
- -->
- <http:client
- ConnectionTimeout="${cxf.client.connectTimeout}"
- ReceiveTimeout="${cxf.client.receiveTimeout}"
- AllowChunking="${cxf.client.allowChunking:false}"
- AutoRedirect="${cxf.client.autoRedirect:true}" />
- <!-- Connection="${cxf.connection}" -->
- </http:conduit>
- <cxf:bus id="clientbus" name="clientbus">
- <cxf:features>
- <bean class="org.apache.cxf.metrics.MetricsFeature" />
- <!--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 -->
- <bean class="org.apache.cxf.ext.logging.LoggingFeature">
- <property name="prettyLogging" value="${cxf.prettyLogging}" />
- <property name="sender">
- <bean class="org.apache.cxf.ext.logging.slf4j.Slf4jEventSender">
- <constructor-arg value="JAXWSCLIENTPAYLOAD" />
- </bean>
- </property>
- </bean>
- </cxf:features>
- </cxf:bus>
- </beans>
Advertisement
Add Comment
Please, Sign In to add comment