Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  How to Connect Glassfish (MDB) to RabbitMQ??

Guest
Posted: Fri Jan 08, 2010 12:31 pm Reply with quote
Guest
Hello,

I am trying to connect to rabbitMQ from a Glassfish Java EE Server (thanks
Alexis for your post on the glassfish forum -
http://forums.java.net/jive/thread.jspa?messageID=379022&#379022). I was
under the impression the right way to do this would be to use an MDB to poll
for messages integrating with the JMS client wrapped by the generic resource
adapter. Per Alexis's post that sounds like it won't work.

Can anybody offer insight on the best way to accomplish the integration with
glassfish? An MDB not using JMS (not sure if it's possible)?? Some SLSB
doing polling? Doesn't sound exactly right. A servlet?

I have already used the java client from a standalone java app and that was
very straight forward (thanks!). I've got a client working from ruby as
well...also very straight forward.

thanks

--john




--
View this message in context: http://old.nabble.com/How-to-Connect-Glassfish-%28MDB%29-to-RabbitMQ---tp27026868p27026868.html
Sent from the RabbitMQ mailing list archive at Nabble.com.


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Fri Jan 08, 2010 1:41 pm Reply with quote
Guest
John

I think you could create an MDB much like people have integrated the
RabbitMQ Java client into Spring.

However, as you say, why not just use a Servlet?

alexis


On Fri, Jan 8, 2010 at 12:30 PM, john_od <john.odendahl@gmail.com> wrote:
>
> Hello,
>
> I am trying to connect to rabbitMQ from a Glassfish Java EE Server (thanks
> Alexis for your post on the glassfish forum -
> http://forums.java.net/jive/thread.jspa?messageID=379022&#379022).
Guest
Posted: Fri Jan 08, 2010 2:27 pm Reply with quote
Guest
On 01/08/2010 12:30 PM, john_od wrote:
>
> Hello,
>
> I am trying to connect to rabbitMQ from a Glassfish Java EE Server (thanks
> Alexis for your post on the glassfish forum -
> http://forums.java.net/jive/thread.jspa?messageID=379022&#379022). I was
> under the impression the right way to do this would be to use an MDB to poll
> for messages integrating with the JMS client wrapped by the generic resource
> adapter. Per Alexis's post that sounds like it won't work.

It should in theory work if you use one of the AMQP based JMS
clients[1]. You'll need to use the generic JMS resource adapter (and I
haven't myself tried that), but that should allow intergation with any
compliant JMS client.

[1] E.g. the openamq JMS client (www.openamq.org, see also
http://www.lshift.net/blog/2009/03/16/openamqs-jms-client-with-rabbitmq-server)
or the Qpid JMS client (qpid.apache.org).


_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
wuji
Posted: Fri Sep 07, 2012 7:21 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
time with."Guller has no plans to relocate closer to Bikinis Bikinis [h3]cheap polo shirts[/h3] Bikinis from his home in Austin, but said that he
the town being open to tourists from March to August.He August.He cheap authentic air jordans August.He is planning the first Bikinis, Texas event in March
Muslims to Welcome Ramadan Tonight, ProbablyCrescent Moon Sighting Will Mark Mark cheap polo ralph lauren Mark Beginning of Holy MonthBy ALON HARISHJuly 19, 2012— At
tonight, Muslims the world over will welcome Ramadan, the holiest holiest [h3]cheap Ralph Lauren[/h3] holiest month in the Islamic calendar.The ninth month of Islam's
calendar, Ramadan is believed to be the month in which which cheap designer *beep* which the Quran was revealed. During Ramadan, which begins with
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum