[ 
https://issues.apache.org/jira/browse/WICKET-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748393#action_12748393
 ] 

Rodrigo De Castro commented on WICKET-2437:
-------------------------------------------

Yesterday I played a bit with the client side specifying the channel name in 
the AjaxLazyLoadPanel class and saw that using multiple channel does not even 
work. Some panels are loaded, but others never load, eventually leading to an 
exception. For this reason I thought there may be something else that needed to 
be changed.

Do they have to be serialized on the server? Is that because of the current 
implementation? I guess this may be a deal-breaker if Wicket does not have any 
plans to allow concurrent Ajax requests. If you have any suggestion where to 
begin, I can try to take a look.

> Ajax requests are called serially using only one channel (Channel busy - 
> postponing...)
> ---------------------------------------------------------------------------------------
>
>                 Key: WICKET-2437
>                 URL: https://issues.apache.org/jira/browse/WICKET-2437
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket, wicket-extensions
>    Affects Versions: 1.4.0
>            Reporter: Rodrigo De Castro
>            Assignee: Matej Knopp
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to