You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Oleg Deribas (JIRA)" <ji...@apache.org> on 2006/10/11 16:20:09 UTC

[jira] Commented: (AMQ-969) .NET Compact Framevork compatibility

    [ https://issues.apache.org/activemq/browse/AMQ-969?page=comments#action_37161 ] 
            
Oleg Deribas commented on AMQ-969:
----------------------------------

Currently there are some small incompatibilities with CF caused by Monitor.Wait/Monitor.PulseAll methods usage as these methods are absent in CF. I think it is possible to replace {{Monitor.Wait(semaphore, maxWait)}} with:

{{Monitor.Exit(semaphore);}}
{{autoResetEvent.WaitOne(maxWait, false);}}
{{Monitor.Enter(semaphore);}}

and {{Monitor.PulseAll(semaphore)}} with:

{{Monitor.Exit(semaphore);}}
{{autoResetEvent.Set();}}
{{Monitor.Enter(semaphore);}}

And possibly class which uses AutoResetEvent should implement IDisposable
interface and call autoResetEvent.Close() in Dispose method.

> .NET Compact Framevork compatibility
> ------------------------------------
>
>                 Key: AMQ-969
>                 URL: https://issues.apache.org/activemq/browse/AMQ-969
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: NMS (C# client)
>         Environment: .NET Compact Framework 2.0
>            Reporter: Oleg Deribas
>         Attachments: nms-cf20-projects.zip
>
>
> For connecting to ActiveMQ from PDA (PocketPC) NMS should be compiled for .NET Compact Framework.
> And currently there are not projects for .NET CF in vs2005 solution.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira