[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Sending NonTransactional Messages with journal-sync-non-

clebert.suconic@jboss.com do-not-reply at jboss.com
Fri Jun 5 12:22:45 EDT 2009


"clebert.suconic at jboss.com" wrote : 
  | 
  |   | 
  |   | QueueImpl...
  |   | ...
  |   |      method route ()
  |   |       ....
  |   |       if (tx == null)
  |   |       {
  |   |          if (durableRef)
  |   |          {
  |   |             if (!message.isStored())
  |   |             {
  |   |                storageManager.storeMessage(message);
  |   | 
  |   |                message.setStored();
  |   |             }
  |   | 
  |   |             storageManager.storeReference(ref.getQueue().getPersistenceID(), message.getMessageID());
  |   |          }
  |   | 
  |   |          if (scheduledDeliveryTime != null && durableRef)
  |   |          {
  |   |             storageManager.updateScheduledDeliveryTime(ref);
  |   |          }
  |   | 
  |   |          addLast(ref);
  |   |       }
  |   | 
  | 


We would get higher numbers on blocking, non-persistent sync-non-transactions if we only had a single-sync per send. Right now each send will wait 2 syncs (both NIO and AIO).

For CR1 I know.

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

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



More information about the jboss-dev-forums mailing list