File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
How can I receive more than one message in one receive
Joined: Aug 15, 2002
Apr 14, 2006 08:55:00
How can I receive more than one message in one receive. I have a low performing N/W and I want to avoid as many hops as possible
Sun Certified Enterprise Architect
Java Technology Blog
Joined: May 29, 2003
Apr 14, 2006 09:28:00
I would assume that you're talking about JMS ... ??? It may be possible, but I would
it would depend on your JMS provider (if it's possible at all). If you give more info, people are more likely to know what you're talking about.
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
Joined: Nov 24, 2000
Apr 14, 2006 11:03:00
Change the producer to package multiple logical messages in a single physical message.
Change the consumer to accomodate this.
I agree. Here's the link:
subject: How can I receive more than one message in one receive
One JMS queue and multiple MDB
JMS - How to receive specific messages (by time stamp)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014