Add back spring-cloud-function-web (faster startup)

With this change there are now 2 choices for web endpoints. The
stream servlet binder is useful for multi-binder use cases
(e.g. HTTP -> message broker).
This commit is contained in:
Dave Syer
2018-01-03 15:00:37 +00:00
parent 1af0d451cf
commit 1c0b603986
27 changed files with 2705 additions and 3 deletions

View File

@@ -15,8 +15,7 @@
</parent>
<properties>
<spring-cloud-deployer-thin.version>1.0.8.RELEASE</spring-cloud-deployer-thin.version>
<spring-cloud-stream-servlet.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-stream-servlet.version>
<spring-cloud-deployer-thin.version>1.0.9.RELEASE</spring-cloud-deployer-thin.version>
</properties>
<dependencies>
@@ -31,7 +30,6 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-binder-servlet</artifactId>
<version>${spring-cloud-stream-servlet.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>

View File

@@ -99,6 +99,7 @@ public class ApplicationRunner implements CommandLineRunner {
if (this.classLoader!=null && this.classLoader instanceof Closeable) {
((Closeable) this.classLoader).close();
}
this.classLoader = null;
}
private RuntimeException getError() {