GithubHelp home page GithubHelp logo

dotnetmq's Introduction

dotnetmq's People

Contributors

hikalkan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotnetmq's Issues

Possible issue on non persistent queue

Hi,
time ago I used DotNetMQ on a project (compliments for the amazing job) and have found a possible issue on non persistent queue.

FILE: MDSPersistentRemoteApplicationBase.cs
METHOD: EnqueueMessage(MDSDataTransferMessage message) method
ROW:
//Add message to queue.
_waitingMessages.AddFirst(new WaitingMessage(messageRecord));

As per my understanding this is a LIFO queue, but I think it is more correct to have a FIFO queue, so I fixed it in:
//Add message to queue.
_waitingMessages.AddLast(new WaitingMessage(messageRecord));

Please let me know your feedback about that.

Thank you,
F

Is this a dead project?

I am researching for a solution(MS.Net preferably) that can be used for a customer queue system where each customer gets token as they arrive. One important aspect is to be able to rebuild the tokens in correct order in a system crash. Lot of queue/messaging systems are kind of overkill and using standard Queue/ConcurrentQueue is not adequate.

I feel DotnetMQ may fit the bill but it seems an abandoned project. Is it the case?

I can't start the service.

I have a problem and that is when he tried to start the service he gives me the 1058 system error and he mentions that he can not start the service.

I would appreciate the help.

InvalidOperationException in DotNetMQ halts all communication

Hi.

Recently in my production environment all the machines stopped sending/receiving messages via DotNetMQ. One machine had following exception in logs:

WARN  2018-04-12 15:18:25,028 [22   ] MDS.Communication.MDSRemoteApplication   - Collection was modified after the enumerator was instantiated.
System.InvalidOperationException: Collection was modified after the enumerator was instantiated.
   at System.Collections.Generic.LinkedList`1.Enumerator.MoveNext()
   at MDS.Communication.MDSRemoteApplication.MessageDeliverer.AsynchronMessageControlTimer_Elapsed(Object state)

This happened 3 to 4 times recently and every time one machine has above Dotnetmq logs. The setup is point-to-point in-memory non-persistent.

I checked the DotnetMQ code. Inside method MessageDeliverer.AsynchronMessageControlTimer_Elapsed(), there is a foreach loop trying to modify the collection which is causing this exception. Following is the extraction:

foreach (var connectedCommunicator in _remoteApplication._communicators)
{
    ...
    //Send communicator to end of the _receiverCommunicators list.
    _remoteApplication._communicators.Remove(connectedCommunicator);
    _remoteApplication._communicators.AddLast(connectedCommunicator);
}

Can you please help to describe what this code is trying to achieve. Can you please also help fixing the above code.

Thanks
Abhishek

Install error missing DotNetMQ.InstallState

I get error when install this service:

PS C:\Program Files\DotNetMQ> .\INSTALL_x64.bat

C:\Program Files\DotNetMQ>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil DotNetMQ.exe
Microsoft (R) .NET Framework Installation utility Version 4.7.2556.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the C:\Program Files\DotNetMQ\DotNetMQ.exe assembly's progress.
The file is located at C:\Program Files\DotNetMQ\DotNetMQ.InstallLog.
Installing assembly 'C:\Program Files\DotNetMQ\DotNetMQ.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\Program Files\DotNetMQ\DotNetMQ.exe
   logfile = C:\Users\sonnguyen\AppData\Local\Temp\DotNetMQ.InstallLog
Installing service DotNetMqService...
Creating EventLog source DotNetMqService in log Application...

An exception occurred during the Install phase.
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\DotNetMQ\DotNetMQ.InstallState' is denied.

The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\Program Files\DotNetMQ\DotNetMQ.exe assembly's progress.
The file is located at C:\Program Files\DotNetMQ\DotNetMQ.InstallLog.
Rolling back assembly 'C:\Program Files\DotNetMQ\DotNetMQ.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\Program Files\DotNetMQ\DotNetMQ.exe
   logfile = C:\Users\sonnguyen\AppData\Local\Temp\DotNetMQ.InstallLog
An exception occurred during the Rollback phase of the System.Configuration.Install.AssemblyInstaller installer.
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\DotNetMQ\DotNetMQ.InstallState'.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.

The Rollback phase completed successfully.

The transacted install has completed.
The installation failed, and the rollback has been performed.

C:\Program Files\DotNetMQ>net start DotNetMQ
The service name is invalid.

More help is available by typing NET HELPMSG 2185.
PS C:\Program Files\DotNetMQ> .\INSTALL_x64.bat

C:\Program Files\DotNetMQ>C:\Windows\Microsoft.NET\Framework64\v4.0.30319\installutil DotNetMQ.exe
Microsoft (R) .NET Framework Installation utility Version 4.7.2556.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the C:\Program Files\DotNetMQ\DotNetMQ.exe assembly's progress.
The file is located at C:\Program Files\DotNetMQ\DotNetMQ.InstallLog.
Installing assembly 'C:\Program Files\DotNetMQ\DotNetMQ.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\Program Files\DotNetMQ\DotNetMQ.exe
   logfile = C:\Users\sonnguyen\AppData\Local\Temp\DotNetMQ.InstallLog
Installing service DotNetMqService...
Creating EventLog source DotNetMqService in log Application...

An exception occurred during the Install phase.
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\DotNetMQ\DotNetMQ.InstallState' is denied.

The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\Program Files\DotNetMQ\DotNetMQ.exe assembly's progress.
The file is located at C:\Program Files\DotNetMQ\DotNetMQ.InstallLog.
Rolling back assembly 'C:\Program Files\DotNetMQ\DotNetMQ.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\Program Files\DotNetMQ\DotNetMQ.exe
   logfile = C:\Users\sonnguyen\AppData\Local\Temp\DotNetMQ.InstallLog
An exception occurred during the Rollback phase of the System.Configuration.Install.AssemblyInstaller installer.
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\DotNetMQ\DotNetMQ.InstallState'.
An exception occurred during the Rollback phase of the installation. This exception will be ignored and the rollback will continue. However, the machine might not fully revert to its initial state after the rollback is complete.

The Rollback phase completed successfully.

The transacted install has completed.
The installation failed, and the rollback has been performed.

C:\Program Files\DotNetMQ>net start DotNetMQ
The service name is invalid.

More help is available by typing NET HELPMSG 2185.

License clarification

In the root of the repository is attached the MIT license but in all the projects folders, the LGPL is present and also, the file are marked at the top with the LGPL license header.
Can you clarify under which license the project is?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.