Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
Need a program for JMS Queue..
sridhar Ranganathan
Greenhorn
Posts: 29
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I need a program to load the data into JMS Queue.
can any one help me.Thanks
Regards,
Sridhar.R
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I would start by downloading the reference implementation of JMS
from here.
It will have simple examples you can use.
Bill
Karthik Rajendiran
Ranch Hand
Posts: 228
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
ConnectionFactory qcf = //jndi lookup of connectionfactory Queue queue = //jndi lookup of queue try { Connection queueConn = qCF.createConnection(); Session queueSession = queueConn.createSession(true, Session.AUTO_ACKNOWLEDGE); MessageProducer msgProducer = queueSession.createProducer(queue); Message msg = queueSession.createTextMessage(txtMessage); msgProducer.send(msg); queueSession.commit();
SCJP 1.4 SCWCD 1.4 SCDJWS 1.4
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
URGENT Help Needed regarding the sending XML file to the JMS Queue
OC4J JMS Clustering problem
Help needed for JMS program in JBoss
Revoking an already sent JMS Message
Servlet & file processor design
More...