You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by fh...@apache.org on 2006/03/20 01:33:54 UTC

svn commit: r387087 - in /tomcat/container/tc5.5.x/modules/groupcom: src/share/org/apache/catalina/tribes/Channel.java to-do.txt

Author: fhanik
Date: Sun Mar 19 16:33:52 2006
New Revision: 387087

URL: http://svn.apache.org/viewcvs?rev=387087&view=rev
Log:
more todo notes

Modified:
    tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java
    tomcat/container/tc5.5.x/modules/groupcom/to-do.txt

Modified: tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java?rev=387087&r1=387086&r2=387087&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/src/share/org/apache/catalina/tribes/Channel.java Sun Mar 19 16:33:52 2006
@@ -43,6 +43,7 @@
     public static final int SEND_OPTIONS_SYNCHRONIZED_ACK = 0x0002;
     public static final int SEND_OPTIONS_DEFAULT = SEND_OPTIONS_USE_ACK;
     public static final int SEND_OPTIONS_BYTE_MESSAGE = 0x0004;
+    public static final int SEND_OPTIONS_ASYNCHRONOUS = 0x0008;
 
     
     /**

Modified: tomcat/container/tc5.5.x/modules/groupcom/to-do.txt
URL: http://svn.apache.org/viewcvs/tomcat/container/tc5.5.x/modules/groupcom/to-do.txt?rev=387087&r1=387086&r2=387087&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/to-do.txt (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/to-do.txt Sun Mar 19 16:33:52 2006
@@ -26,6 +26,13 @@
 
 Code Tasks:
 ===========================================
+24. MessageDispatchInterceptor - for asynchronous sending
+    - looks at the options flag SEND_OPTIONS_ASYNCHRONOUS
+    - has two modes 
+      a) async parallel send - each message to all destinations before next message
+      b) async per/member - one thread per member using the FastAsyncQueue
+    - (optional)persistent - writes messages to persistent store first, then starts processing
+    - Callback error handler - for when messages fail, and the application wishes to become notified
 
 23. TotalOrderInterceptor - fairly straight forward implementation
     This interceptor would depend on the fact that there is some sort of 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org