943,502 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 11925
  • Java RSS
Mar 2nd, 2005
0

Looking for open source message queue implementation

Expand Post »
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
Similar Threads
Reputation Points: 11
Solved Threads: 0
Junior Poster
George2 is offline Offline
189 posts
since Nov 2004
Mar 2nd, 2005
0

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.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Mar 2nd, 2005
0

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
Reputation Points: 11
Solved Threads: 0
Junior Poster
George2 is offline Offline
189 posts
since Nov 2004
Dec 23rd, 2008
0

Re: Looking for open source message queue implementation

Click to Expand / Collapse  Quote originally posted by George2 ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Antriksh Verma is offline Offline
2 posts
since Dec 2008
Dec 23rd, 2008
0

Re: Looking for open source message queue implementation

OOPs sorry ... This Query was for jwenting .

Pls help me out.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Antriksh Verma is offline Offline
2 posts
since Dec 2008
Dec 23rd, 2008
0

Re: Looking for open source message queue implementation

Click to Expand / Collapse  Quote originally posted by George2 ...
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
Reputation Points: 27
Solved Threads: 1
Light Poster
Tyster is offline Offline
31 posts
since Oct 2007
Dec 24th, 2008
0

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.
Super Moderator
Featured Poster
Reputation Points: 3233
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,871 posts
since Jun 2006
Dec 24th, 2008
0

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.
Reputation Points: 874
Solved Threads: 352
Posting Maven
BestJewSinceJC is offline Offline
2,758 posts
since Sep 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: Game controller
Next Thread in Java Forum Timeline: How to retrieve binary data from string





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC