Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2437

Ajax requests are called serially using only one channel (Channel busy - postponing...)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.4.0
    • None
    • wicket, wicket-extensions
    • None

    Description

      I have several lazy load panel that load DynamicImageResource objects. They are always loaded in serial mode. These are the debug messages:

      INFO: Initiating Ajax GET request on ../?wicket:interface=:3:tabpanel:panel:app_graph_panel:1:graph::IBehaviorListener:0:1&random=0.7774967316771
      INFO: Invoking pre-call handler(s)...
      INFO: Channel busy - postponing...
      INFO: Channel busy - postponing...
      INFO: Channel busy - postponing...
      INFO: Channel busy - postponing...
      INFO: Channel busy - postponing...
      INFO: Channel busy - postponing...
      INFO: Channel busy - postponing...
      INFO: Channel busy - postponing...
      INFO: Channel busy - postponing...
      INFO: Received ajax response (2665 characters)

      After checking the code, it seems that every Ajax code in Wicket does not specify the channel when calling wicketAjaxGet. By doing that, all the requests end up in the default queue, being executed serially.

      Attachments

        Issue Links

          Activity

            People

              knopp Matej Knopp
              rcastro Rodrigo De Castro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: