wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Implementing [open source] MessageQueues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Implementing [open source] MessageQueues " Watch "Implementing [open source] MessageQueues " New topic
Author

Implementing [open source] MessageQueues

Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Hi Java Fellas,

I want to implement open source Messaging Queues[Linux Q's] that do not have dependency on any Application server in Java.

Having very good Throughput,recovery status.

JMS is one of the source available,but i think it needs GlassFish as an Application Server with it.

Please Help.Iam in Dire Need.

Regards
Antriksh
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
JMS is just the API - it provides no implementation. For open source implementations in Java, check out ActiveMQ and OpenJMS. Neither requires an application server to run.


Ping & DNS - my free Android networking tools app
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Hi Ulf ..

I think ActiveMQ needs GlassFish [Application Server] to install and work with.
ActiveMQ,Commons Messanger[Apache.org] who is JMS FrameWork requires GlassFish i think.

Do you know about cMsg, It needs no other server to implement.But i didn't find it much efficient because i find message lost in it.

Please help.

Regards
Antriksh
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Is any framework like Open MQ, of JMS ,will require Glassfish Application Server to be there?

Please Help .
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
I think ActiveMQ needs GlassFish [Application Server] to install and work with.

Which of its requirements led you to believe that?
Peter Lawrey
Ranch Hand

Joined: Dec 21, 2008
Posts: 62
Glassfish is a Sun product which has its own JMS messaging solution.
No other JMS needs Glassfish.
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Hi Java Fellas..

ActiveMQ/Open MQ/Open JMS is a Framework to JMS..
So that means JMS must needs something behind scene to get responses [AN SERVER.] or should be able to submit queries too..

I mean can i get the important component needed by these JMS implementers to get install on system.[JARS/Server if needed] for eg, i think APACHEMQ needs Spring framework and Tomcat. [uptil wat i analysed]

Please Guide!!

Regards
Antriksh
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
ActiveMQ/Open MQ/Open JMS is a Framework to JMS..
So that means JMS must needs something behind scene to get responses [AN SERVER.]

ActiveMQ/OpenJMS/OpenMQ ARE the servers. JMS is the API (or framework, as you call it, but the term framework is generally used for something else, so I wouldn't use it in conjunction with JMS).

i think APACHEMQ needs Spring framework and Tomcat. [uptil wat i analysed]

I'll ask again: Which of its requirements led you to believe this? The requirements page on its web site is very specific on what is (and is not) needed.
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Hello Ulf Dittmer ..

Thanks for suggestions and support all the way.
iam going to work with OpenJMS & ApacheMQ which dont need any servers at all.

I will be back with queries then.
Hope to get your support then too.

Regards [Merry XMas ]

Antriksh
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Hello Ulf Dittmer & Java Fellas

Iam delighted :!: to share with you that ActiveMQ has solved my problems of implementing messaging queues without an external server [Can implemented with J2SE, No J2EE server [Required for some features ]].

ActiveMQ implements JMS1.1 & is an open-source .And is really efficient & has many many features .
Best one is to Monitor ActiveMQ server .. either WebConsole or Thruough JMX(JConsole 4 J2SE) [Actually has relived me of Tracking my messages]. :idea:

I have shared my very little experience with you.
Now iam on Heels with ActiveMQ.

Thanks Ulf Dittmer & Java Ranch Team , for your initially support.Looking :roll: 4 your support in future too.

Regards
Antriksh Verma
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Well done and thanks for sharing your solution!


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Hi

Can anyone out here can solve my some queries on ActiveMQ.

IAM using ANT1.7 + ActiveMQ5.1.

Defining maxmemory 2000M for producer [NOn-persistence messaging]. But Producer get halts after producing 2876 messages ,where capacity is of 20000 messages.

Please explain me how much capacity we can give to clients [Producer & Consumer] in activeQ's. What is M in 20000M maxmemory.

Please Help me out . :?

Regards
Antriksh
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
PLEASE HELP ME OUT !!
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Please EaseUp
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56

Hey JAvaRanchers..

IAM already EASED up but now is no time to be eased.

No one either dont know ActiveMQ's or dont want to help out

What is this problem?

WARN DiscoveryNetworkConnector - Could not start network bridge between: vm://localhost and: tcp://hostname:61616 due to: java.net.UnknownHostException: <hostname>
INFO DemandForwardingBridge - localhost bridge to Unknown stopped

Regards
Antriksh
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41155
    
  45
Well, the questions you're asking now are rather different from the one you started the topic with. It would have been better not to mix topics, but to start a new one instead, with a subject that reflects its content.

tcp://hostname:61616 due to: java.net.UnknownHostException: <hostname>

This sounds as if the generic placeholder "hostname' was not replaced by the actual machine name or IP address.
Antriksh Verma
Ranch Hand

Joined: Nov 24, 2008
Posts: 56
Hi Ulf

You are right,I must start a topic Queries on ActiveMQ.

Anyways "hostname' has been replaced by my localhost.. that is not the issue.

But warning coming out is INFO DemandForwardingBridge - localhost bridge to Unknown stopped ,where as i have mentioned the localhost.

Lets Discuss it in new thread .
Thank you ULF for response & always there help !!

Regards
Antriksh
 
jQuery in Action, 2nd edition
 
subject: Implementing [open source] MessageQueues
 
Similar Threads
Where can I find the Java EE 5.0 source code?
Good EJB application server?
Print PDF file from Java API
Tomcat, Apache and App Sever?
connection pooling