Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 run 方式启动 监听器无效 #42

Closed
yumexupanic opened this issue Aug 28, 2017 · 1 comment
Closed

使用 run 方式启动 监听器无效 #42

yumexupanic opened this issue Aug 28, 2017 · 1 comment

Comments

@yumexupanic
Copy link

GeccoEngine.create()
.classpath("xxx")
.pipelineFactory(springPipelineFactory)
.interval(1000)
.thread(thread)
.setEventListener(listener)
.start(request).run();

监听器的方法不会被调用

@xtuhcy
Copy link
Owner

xtuhcy commented Aug 29, 2017

run()方式由于只运行一次,貌似没有场景需要listener监听

@xtuhcy xtuhcy closed this as completed Aug 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants