2 Replies Latest reply on May 28, 2009 9:08 PM by Jon Hatfield

    Asynchronous tag does not create new thread

    Jon Hatfield Newbie

      Hello,


      I have marked a method in a conversation bean's interface with the @Asynchronous tag (org.jboss.seam.annotations.async) and amended components.xml to include
      async:timer-service-dispatcher, using http://jboss.com/products/seam/async-2.0.xsd. However the method is called in the usual way and does not run in a new thread as expected.


      In the online documentation it says to use core:dispatcher instead, but dispatcher is not a property of the http://jboss.com/products/seam/core-2.0.xsd. However I see that there is also a org.jboss.seam.core.Dispatcher class. Am I using the wrong references, or do I need to create an EJB timer object? The documentation implies that all is required is the annotation and an amendment to components.xml. I am using Seam 2.0 and other components.xml references are all 2.0.


      Thanks very much,
      Jon