[jboss-user] [JBoss Messaging] New message: "Re: Problem in message flow in a bridge with two nodes of Jboss"

Bertrand GILLIS do-not-reply at jboss.com
Wed Mar 10 08:32:19 EST 2010


User development,

A new message was posted in the thread "Problem in message flow in a bridge with two nodes of Jboss":

http://community.jboss.org/message/531083#531083

Author  : Bertrand GILLIS
Profile : http://community.jboss.org/people/bgillis

Message:
--------------------------------------------------------------
Please note these parameters in the bridge definition:
 
      <!-- The maximum number of messages to consume from the source  before sending to the target -->
      <attribute  name="MaxBatchSize">5</attribute>     
      
       <!-- The maximum time to wait (in ms) before sending a batch to the  target even if MaxBatchSize is not exceeded.
           -1 means wait  forever -->   
      <attribute  name="MaxBatchTime">-1</attribute>
 
So you must have at least 5 messages in the source queue before the bridge sends them to the target queue. You can also change the "MaxBatchTime" to a positive value in order to send messages after a specific time even if the "MaxBatchSize" is not reached.

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/531083#531083




More information about the jboss-user mailing list