A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
EJB and other Java EE Technologies
JMS & ActiveMQ
Joined: Dec 12, 2006
Jul 02, 2008 23:38:00
I'm new to JMS, And i want to run a simple application using JMS,
for which i have written two files.
1) SimpleQueueSender.java &
SimpleQueueSender.java gets two command line arguments one is queueName and the other is number of messages to send. which is int, so the simple queue sender the static messages to the queueName.
and SimpleQueueReceiver receives the messages. from that queue, SimpleQueueReceiver also gets one command line argument that is queueName from which to receive messages.
I want to use
5.5 as a web container and ActiveMQ as my message broker.
but think is a simple application which contains a
file with public static void main method, so i don't think i will need a tomcat in my case. correct me if i am wrong.
Now i would like to know how does ActiveMQ comes in picture ???
What else i need to do to run my application ???
Do i need
Application Server ?
(Currently it is installed because following import
which are required for JMS i got from j2ee.jar which i got from J2EE Application Server.
Thanks & Regards,
[ July 02, 2008: Message edited by: Jigar Naik ]
I agree. Here's the link:
subject: JMS & ActiveMQ
Properties in InitialContext for SimpleQueueReceiver.java, MQ5.3 server remotely
MessageListener in AQ JMS
P2P using WSAD's embedded JMS- Naming Exception
New To JMS
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014