Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implementing [open source] MessageQueues

 
Antriksh Verma
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Antriksh Verma
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is any framework like Open MQ, of JMS ,will require Glassfish Application Server to be there?

Please Help .
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glassfish is a Sun product which has its own JMS messaging solution.
No other JMS needs Glassfish.
 
Antriksh Verma
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done and thanks for sharing your solution!
 
Antriksh Verma
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PLEASE HELP ME OUT !!
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please EaseUp
 
Antriksh Verma
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic