This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
Hi there,
There is a case that i need to define a thread in the OSGI bundle. This thread auto-running at the background, but how to active and start this thread?
Is there any specif solution for that?
Thanks a lot.
Best regards,
brian
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Sham,
The thread just used to invoke an webservice and to check tasks if completed. If true, this application will pull a remote file from a server.
Best regards,
Brian
Views
Replies
Total Likes
Can you give little background what that thread would be doing ? Scheduler should work for most cases http://sling.apache.org/documentation/bundles/scheduler-service-commons-scheduler.html
http://helpx.adobe.com/experience-manager/using/aem-first-components1.html
Views
Replies
Total Likes
Hi Sham,
The thread just used to invoke an webservice and to check tasks if completed. If true, this application will pull a remote file from a server.
Best regards,
Brian
Views
Replies
Total Likes
Using scheduler or sling jobs or http://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/day/cq/workflow/exec/WorkflowExternalP... should suffice your requirement
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies