[jboss-user] [JBoss Messaging] - JMS Bridge - MaxBatchTime not working

rnicholson10 do-not-reply at jboss.com
Mon Apr 27 05:32:54 EDT 2009


I'm using the 5.1.0 beta release of AS5

Previously I had been using the following in my bridge configuration:


  |         <attribute name="MaxBatchSize">1</attribute>
  |         <attribute name="MaxBatchTime">-1</attribute>
  | 

This worked but was very inefficient so I changed to this:


  |         <attribute name="MaxBatchSize">20</attribute>
  |         <attribute name="MaxBatchTime">200</attribute>
  | 

If I send 23 messages, only 20 get transported across the bridge. I must send another 17 before the left over 3 get sent.

There is jira issue related to this:

https://jira.jboss.org/jira/browse/JBMESSAGING-1186

A fix never seemed to be implemented for this. Note that unlike the above issue the remaining messages are never sent until the maxBatchSize is reached again.

We will stick with a batch size of 1 as this is a suitable workaround in the short term on our production server.

Any ideas greatly appreciated.

Cheers,

Ross

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

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



More information about the jboss-user mailing list