JMS Tutorial #1: Simple JMS P2P on JBoss HornetQ

preview_player
Показать описание
Simple JMS P2P interaction with a client and JBoss HornetQ.

In this tutorial, I will show you how to set up JBoss 6 Server, implement JMS and JBoss libraries, configure JMS Queue/Topic names and JNDI, and create a simple client program that sends a TextMessage to a queue, and receives the TextMessage from the queue.

JBoss 6.1.0 Final can be downloaded from here:

Java Eclipse EE Indigo can be downloaded from here:
Рекомендации по теме
Комментарии
Автор

Hi,
I am new to HornetQ.
Ifollowed all steps but its giving me error as:
: Could not obtain connection to any of these urls: localhost:1099 and discovery failed with error:

suyashshinde
Автор

Hi jamesx1990!

I'm trying to apply this tutorial in JBoss 7.1 AS with standalone-full.xml.

I created the EJB ServerConfig Project with the hornetq-jms.xml into a META-INF like your example. When I deploy it a ChatQueue not appear in start console. Do you know if your example runs in JBoss 7.1? What I need to do to run it with JBoss 7.1?

hugohaas