This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes How can I receive more than one message in one receive Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How can I receive more than one message in one receive" Watch "How can I receive more than one message in one receive" New topic
Author

How can I receive more than one message in one receive

Raees Uzhunnan
Ranch Hand

Joined: Aug 15, 2002
Posts: 126
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

Thanks
Raees


Sun Certified Enterprise Architect
Java Technology Blog
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
I would assume that you're talking about JMS ... ??? It may be possible, but I would image 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
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
Change the producer to package multiple logical messages in a single physical message.

Change the consumer to accomodate this.

Guy
 
Don't get me started about those stupid light bulbs.
 
subject: How can I receive more than one message in one receive
 
Similar Threads
JMS - How to receive specific messages (by time stamp)
Stored Procedures
Java Mail
One JMS queue and multiple MDB
Java Mail