i have a java application which has various Agents(Java Algo's) which listen to messages and process them . Each agent executes these messages on a single thread where these messages are added in a blocking queue to be processed one by one . This processing on a single message involves i/o with a remote machine . Overtime , these threads get hung one by one due to an inherent Bug in java . They say the bug is fixed but its not , i have run it on all latest java versions and tried all workarounds for a month now .So, i am planning to move to scala actors .
Below are my questions :
Is the above requirement possible in scala actors and will it overcome the java bug ?
A simple overview of how to do it if it's possible :)
P.S : i have been reading through the programming in scala book for getting the syntax and basic features .