简体   繁体   中英

How to trigger remote batch job from Spring Batch Admin?

I have two WARs deployed in same jboss application server:-

WAR 1 --> Having Job launcher and job related servies

WAR 2 --> Just have Spring Batch Admin.

I am using same DB repository for both spring batch(WAR1) and spring batch admin(WAR2).

I am able to access all job-related status by using Spring Batch Admin but I am stuck how to trigger the job which is deployed in WAR 1,

I am also able to create the rest web-services in WAR1 with below URL

http://localhost:8080/myJob

But now what would be my next, where I should configure this rest URL in Spring Batch Admin.

It will be great if someone can help me on that.

IIRC Spring Batch Admin只能在与自己相同的应用程序中启动作业。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM