[ 
https://issues.apache.org/jira/browse/QPID-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12650977#action_12650977
 ] 

Aidan Skinner commented on QPID-1479:
-------------------------------------

Testing
-----------

Threading.java needs tests to show that the system property works, and that 
something sensible happens if you specify an invalid value for it. 

DefaultThreadFactory.java and RealTimeThreadFactory need tests to show that 
they actually create threads of the appropriate type, don't reuse threads, have 
the priority correct and pass in the runnable properly. 

MINA
-------
Replacing MINA is not, AFAIK, something that's going to happen immediately 
after this release. There certainly hasn't been much discussion of doing so, 
apart from one random statement in one thread about something else. 

It's a core part of the client and just ripping it out for a new replacement is 
a bit rash. Offering alternatives, perhaps even switching them on by default is 
much more sensible than replacing it entirely in one go.

Until it's gone we can't let it rot, it needs to be maintained. 

> Provide a thread abstraction for java client
> --------------------------------------------
>
>                 Key: QPID-1479
>                 URL: https://issues.apache.org/jira/browse/QPID-1479
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Client
>    Affects Versions: M4
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: M4
>
>         Attachments: testthread.patch, thread.patch
>
>
> In order to provide better support for Qpid users who run the java client on 
> a Real Time JVM it would be nice to have a thread abstraction.
> The thread factory would default to java.lang.Thread and can be switched to 
> javax.realtime.RealtimeThread on an RT JVM.
> I am planning to provide this thread abstraction for the IOSender, IOReceiver 
> and Dispatcher threads in the java client.
> I am also using it in the TestKit and QpidBench to allow these tools to be 
> used more effectively on an RT JVM.

-- 
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