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:
@@ -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>
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user