DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   Looking for open source message queue implementation (http://www.daniweb.com/forums/thread19487.html)

George2 Mar 2nd, 2005 8:36 am
Looking for open source message queue implementation
 
Hello everyone,


I am looking for open source message queue implementation in Java. Does anyone know where can I find a 100% pure Java implementation of message queue with basic features? It is better an implementation which does not rely on other components and can be used as a utility class.


Thanks in advance,
George

jwenting Mar 2nd, 2005 9:44 am
Re: Looking for open source message queue implementation
 
Not sure if it's what you're looking at, but maybe http://jakarta.apache.org/commons/sandbox/messenger/ can be of use.

George2 Mar 2nd, 2005 10:57 pm
Re: Looking for open source message queue implementation
 
Thanks jwenting,


Quote:

Originally Posted by jwenting
Not sure if it's what you're looking at, but maybe http://jakarta.apache.org/commons/sandbox/messenger/ can be of use.

Your reply is very helpful. I simply want a local message queue and I want to queue some requests from user interface, and process them from the queue with priority. I also want to register/unregister message sender/receivers dynamically.

I have found out that the "Messenger" project you recommended is a Web and JMS based technology. Does it tie to Web application messages or does it need a server? My requirement is very simple and I do not want the message queue to be relied on any type of servers or databases. I want it to be used as a utility class. I think you are an expert of this field. Could you help?


regards,
George

Antriksh Verma Dec 23rd, 2008 3:50 am
Re: Looking for open source message queue implementation
 
Quote:

Originally Posted by George2 (Post 97733)
Thanks jwenting,




Your reply is very helpful. I simply want a local message queue and I want to queue some requests from user interface, and process them from the queue with priority. I also want to register/unregister message sender/receivers dynamically.

I have found out that the "Messenger" project you recommended is a Web and JMS based technology. Does it tie to Web application messages or does it need a server? My requirement is very simple and I do not want the message queue to be relied on any type of servers or databases. I want it to be used as a utility class. I think you are an expert of this field. Could you help?


regards,
George

Hi George

Even i need to implement message queue [LinuxQ] which should not relay on any type of servers ,in java [preferably need an Open Source Messaging Queue Solution].

Pls Help me out .

Regards
Antriksh

Antriksh Verma Dec 23rd, 2008 3:51 am
Re: Looking for open source message queue implementation
 
OOPs sorry ... This Query was for jwenting .

Pls help me out.

Tyster Dec 23rd, 2008 10:18 pm
Re: Looking for open source message queue implementation
 
Quote:

Originally Posted by George2 (Post 97519)
Hello everyone,


I am looking for open source message queue implementation in Java. Does anyone know where can I find a 100% pure Java implementation of message queue with basic features? It is better an implementation which does not rely on other components and can be used as a utility class.


Thanks in advance,
George

Hi George,

I work in messaging software (MQ and SIB) and I have a VERY simple messaging simulation I wrote for education purposes that you might find helpful. Its a simple set os classes that uses an ArrayList as a 'queue' and main() starts 2 threads, a Producer and a Consumer, that put and get 'messages' from the 'queue'. Each 'message' is actually just a random string, but it works. Each thread uses re-entrant locks for 'queue' access. I can send it to you if you like. Keep in mind this stuff is REALLY simple, but it does demonstrate the concept.

Tyster

~s.o.s~ Dec 24th, 2008 12:50 am
Re: Looking for open source message queue implementation
 
Instead of private messaging the solution, you can attach your project here or post a link to an external site if you have your project hosted somewhere else [e.g. sourceforge] so that others can benefit from it.

BestJewSinceJC Dec 24th, 2008 1:46 am
Re: Looking for open source message queue implementation
 
George, I think I understood everything you were saying up to here. "I also want to register/unregister message sender/receivers dynamically." What does that mean? Because up until then, it sounded like you simply wanted a generic priority queue, which is not hard to implement yourself, since Java already provides a PriorityQueue class.


All times are GMT -4. The time now is 7:38 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC