Simon Thompson
Simon Thompson

Reputation: 704

Using ActiveMQ and GlassFish together

Latest version of both, can not see how to enable ActiveMQ as an endpoint in Glassfish. Would like to use ActiveMq as the JMS provider in Glassfish, the stuff I found on google does not make sense. Any advise welcome.

Is it possible to just use the JMS connector and poitn at ActiveMQ - believe not but have I just configured wrong ?

Thanks

Upvotes: 3

Views: 5114

Answers (3)

Geert Schuring
Geert Schuring

Reputation: 2163

I've written an article (based on Sven's) that describes how to connect an external activemq broker to glassfish and deploy a Message Driven Bean that consumes messages from ActiveMQ.

You can find it here: http://geertschuring.wordpress.com/2012/04/20/how-to-connect-glassfish-3-to-activemq-5/

Upvotes: 3

Igor
Igor

Reputation: 11

  1. Deploy activemq-rar-[version].rar as Connector Application to Glassfish
  2. You will need some *.jars (http://weblogs.java.net/blog/rampsarathy/archive/2007/03/glassfish_v2_an_1.html) in \domains[domainName]\lib\ext
  3. Create Connector Connection Pool with ActiveMQ
  4. Create Connector Resource (Factory) with Connector Connection Pool from 2.
  5. Create Queues.

Upvotes: 1

Related Questions