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#4074705

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074705
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to