I've found how to put it to work.
I annotated Task Handler implementation - not only interface as it is written in
documentation, also I added just in case @Stateless annotation for my bean :) one of
operations gave me a positive result :)
@AutoCreate
@Name("taskHandler")
@Stateless
public class TaskHandlerBean implements TaskHandler {
@Logger
Log log;
@Override
@Asynchronous
public void sayGreeting(String greeting, @Expiration Date date, @IntervalDuration Long
interval) {
log.info("greeting: #0 at #1", greeting, new Date());
}
}
Thanks for help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074705#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...