| Message message = queueSession.createTextMessage();
  | for(int i = 0;i<NUM;i++) {
  |      message.setText(strMessage);
  |      queueSender.send(message);
  | }
  | 
  | //queueSession.commit();
  | 

if when commit(), it may send all message in a batch?
not just send messages one by one
is that save time?

3x
shine


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823738#3823738

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823738


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to