title: @Async is not working in REST class
body: <p>I am working on a WebService project built using Spring. All the configuration are done using Annotation. There is one method which sends the push notification. As there are many notifications to send, which causes delay in response. So, I apply @Async annotation to my "sendPushnotification" method. But, still no improvement in response. I have gone through some of the blogs and stackoverflow to find the solution. But, no success. I have applied following annotation to my Service class.</p>
  
  <pre><code>@Component
  @Configuration
  @EnableAspectJAutoProxy
  @EnableAsync
  </code></pre>
  
  <p>Method from which async called.</p>
  
  <pre><code>@POST
  @Path("/sampleService")
  @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
  public Response sampleService(@FormParam ...) {
      ...
      List&lt;User&gt; commentors = &lt;other method to fetch commentors&gt;;
      sendPushnotification(commentors);
      ...
  }
  </code></pre>
  
  <p>My async method.</p>
  
  <pre><code>@Async
  private void sendPushnotification(List&lt;User&gt; commentors) {
      if (commentors != null) {
          for (User user : commentors) {
              try {
                  int numNewComments = ps.getCommentsUnseenByUser(user); 
  
                  sendMessage("ios", user, "2", "" + numNewComments, "true"); 
              } catch (Exception e) {
                  log.error(e.getMessage(), e);
              }
          }
      }
  }
  </code></pre>
  
  <p>Is there anything I am missing?</p>