Commit b0762033 by 房斌

dubbo版本更改

parent 974252ad
......@@ -12,7 +12,7 @@
<artifactId>matrix-gracefulshutdown</artifactId>
<properties>
<secoo-dubbo.version>2.7.4.1-secoo1.5-SNAPSHOT</secoo-dubbo.version>
<secoo-dubbo.version>2.7.4.1-secoo1.4</secoo-dubbo.version>
<dubbo-starter.version>2.7.4.1</dubbo-starter.version>
<dubbo-zookper.version> 2.7.4.1</dubbo-zookper.version>
</properties>
......
......@@ -45,8 +45,8 @@ public class GracefullyShoutDown implements CommandLineRunner, ApplicationListen
//hock卸载
DubboShutdownHook.getDubboShutdownHook().unregister();
//listener 卸载
ApplicationEventMulticaster multicaster = context.getBean(APPLICATION_EVENT_MULTICASTER_BEAN_NAME, ApplicationEventMulticaster.class);
multicaster.removeApplicationListener(SpringExtensionFactory.SHUTDOWN_HOOK_LISTENER);
// ApplicationEventMulticaster multicaster = context.getBean(APPLICATION_EVENT_MULTICASTER_BEAN_NAME, ApplicationEventMulticaster.class);
// multicaster.removeApplicationListener(SpringExtensionFactory.SHUTDOWN_HOOK_LISTENER);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment