The JBoss AS 4.x Farm service does file copy over JGroups; perhaps some of the 
code will be useful.  The class that does the actual work of moving files over 
the wire is

https://svn.jboss.org/repos/jbossas/branches/Branch_4_2/cluster/src/main/org/jboss/ha/framework/server/ClusterFileTransfer.java

This code uses the JBoss AS HAPartition, which for this usage is just a thin 
layer that calls through to JGroups' RpcDispatcher. You could code directly to 
RpcDispatcher. You can see how the HAPartition implementation calls through to 
RpcDispatcher at

https://svn.jboss.org/repos/jbossas/branches/Branch_4_2/cluster/src/main/org/jboss/ha/framework/server/ClusterPartition.java

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195404#4195404

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195404
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to