Skip to content

Commit 18dc08e

Browse files
committed
spring-projectsGH-3677: Doc for URL conn customization in FeedCA
Fixes spring-projects#3677 If there is need to have a `URLConnection` customized, the `UrlResource` has to be used instead of plain `URL` injection into the `FeedEntryMessageSource`
1 parent fb14976 commit 18dc08e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/reference/asciidoc/feed.adoc

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ The implementation is based on the https://rometools.github.io/rome/[ROME Framew
77
You need to include this dependency into your project:
88

99
====
10+
[source, xml, subs="normal", role="primary"]
1011
.Maven
11-
[source, xml, subs="normal"]
1212
----
1313
<dependency>
1414
<groupId>org.springframework.integration</groupId>
@@ -17,8 +17,8 @@ You need to include this dependency into your project:
1717
</dependency>
1818
----
1919
20+
[source, groovy, subs="normal", role="secondary"]
2021
.Gradle
21-
[source, groovy, subs="normal"]
2222
----
2323
compile "org.springframework.integration:spring-integration-feed:{project-version}"
2424
----
@@ -127,3 +127,5 @@ public class FeedJavaApplication {
127127
}
128128
----
129129
====
130+
131+
NOTE: If the connection to the feed needs some customization, e.g. connection and read timeouts, the `org.springframework.core.io.UrlResource` extension with its `customizeConnection(HttpURLConnection)` override has to be used instead of plain `URL` injection into the `FeedEntryMessageSource`.

0 commit comments

Comments
 (0)