As previously discussed here
(http://www.nabble.com/MINA-%2B-continuations-tf4686670s16868.html) I've
been playing around with combining commons-javaflow and MINA. Now, I've
added the code to the sandbox. I would be very happy if you would check
it out and tell me what you think of it.

You need to do the following to try it out:

svn co
https://svn.apache.org/repos/asf/mina/sandbox/niklas/mina-continuations
svn co http://svn.apache.org/repos/asf/commons/sandbox/javaflow/trunk
javaflow
cd javaflow
cp ../mina-continuations/javaflow-pom.xml pom.xml
mvn install
cd ../mina-continuations/
mvn package
mvn eclipse:eclipse

You should now have an Eclipse project to play around with. Try running
the simple example I've included in
org.apache.mina.continuations.example.Main. It's a lot easier to run it
from inside Eclipse than from the command line. Just make sure you add
-javaagent:target/mina-continuations-0.0.1-SNAPSHOT.jar to the VM
arguments in the launch configuration. Then add the name of the POP3
server you want to connect to as arg 1, the username to use as arg 2 and
the password as arg 3.

Please note that this is just a simple prototype. The code in the
example is just about the only code I've tried so far. There are
probably lots of bugs in there. Let me know what you think.

-- 
Niklas Therning
www.spamdrain.net

Reply via email to