From 2cdd54bf6a299ab117dda439c453c2701a2aa22f Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Thu, 18 Aug 2016 13:58:51 +0200 Subject: [PATCH] Sync docs from v1.0.4.RELEASE to gh-pages --- spring-cloud-sleuth/1.0.4.RELEASE/index.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/spring-cloud-sleuth/1.0.4.RELEASE/index.html b/spring-cloud-sleuth/1.0.4.RELEASE/index.html index 95327fd1..065f2449 100644 --- a/spring-cloud-sleuth/1.0.4.RELEASE/index.html +++ b/spring-cloud-sleuth/1.0.4.RELEASE/index.html @@ -2097,7 +2097,20 @@ wrap ThreadPoolTaskScheduler in a TraceAsyncListenableTaskExe
-
Unresolved directive in spring-cloud-sleuth.adoc - include::../../../../spring-cloud-sleuth-core/src/test/java/org/springframework/cloud/sleuth/instrument/web/client/TraceWebAsyncClientAutoConfigurationTest.java[tags=async_template_factories,indent=0]
+
@EnableAutoConfiguration
+@Configuration
+public static class TestConfiguration {
+
+	@Bean
+	ClientHttpRequestFactory mySyncClientFactory() {
+		return new MySyncClientHttpRequestFactory();
+	}
+
+	@Bean
+	AsyncClientHttpRequestFactory myAsyncClientFactory() {
+		return new MyAsyncClientHttpRequestFactory();
+	}
+}
@@ -2235,7 +2248,7 @@ To disable Zuul support set the spring.sleuth.zuul.enabled property