I am using the latest Pivotal Cloud Foundry, i.e version 1.8.
Running cf feature-flags
indicates that tasks creation is indeed enabled.
My Spring app is using the latest Spring Cloud Tasks library, i.e. version 1.1.0.RELEASE, and tasks are enabled by @EnableTask
annotation.
However, when I cf push
the app, it is restarted as if it were treated as a LRP (Long Running Process) and not as a task...
Can someone please help? What I am missing?
edit: The latest version of PWS Cloud Foundry is now: 1.9 but my question remains relevant.