[jboss-jira] [JBoss JIRA] Reopened: (JBMESSAGING-1186) maxBatchTime stops working after the connection between source and target servers is lost

Tim Fox (JIRA) jira-events at lists.jboss.org
Mon Apr 27 09:34:53 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBMESSAGING-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Fox reopened JBMESSAGING-1186:
----------------------------------

      Assignee: Howard Gao  (was: Tim Fox)


> maxBatchTime stops working after the connection between source and target servers is lost
> -----------------------------------------------------------------------------------------
>
>                 Key: JBMESSAGING-1186
>                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1186
>             Project: JBoss Messaging
>          Issue Type: Bug
>    Affects Versions: 1.4.0.SP1
>         Environment: Windows XP 64
> Java 6
> JBoss 4.2.2
>            Reporter: Maurice Zeijen
>            Assignee: Howard Gao
>             Fix For: 1.4.0.SP3.CP08, 1.4.4.GA
>
>
> We have the following Situation:
> A bridge MBean is setup to bridge between a local source and a remote target. The MaxBatchSize attribute is set to 5 and the MaxBatchTime is set to 10000. So the configuration looks like this:
> <mbean code="org.jboss.jms.server.bridge.BridgeService" name="jboss.messaging:service=Bridge,name=wai_sync_customer_bridge" xmbean-dd="xmdesc/Bridge-xmbean.xml">
>        <depends optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider</depends>
>        <depends optional-attribute-name="TargetProviderLoader">jboss.messaging:service=JMSProviderLoader,name=RemoteJMSProvider</depends>
>        <attribute name="SourceDestinationLookup">/queue/local</attribute>
>        <attribute name="TargetDestinationLookup">/queue/remote</attribute>
>        <attribute name="QualityOfServiceMode">0</attribute>
>        <attribute name="MaxBatchSize">5</attribute>
>        <attribute name="MaxBatchTime">10000</attribute>
>        <attribute name="FailureRetryInterval">5000</attribute>
>        <attribute name="MaxRetries">-1</attribute>
>        <attribute name="AddMessageIDInHeader">false</attribute>
>        <depends>jboss.messaging.destination:name=local,service=Queue</depends>
>   </mbean>
> If the connection between the two servers is available then the MaxBatchTime works fine. After 10 seconds all messages are moved from local queue to remote queue if there are less then 5 messages in the queue. But when for some reason the connection is lost and after a while restored again then the MaxBatchTime doesn't work any more. Luckily the MaxBatchSize still works. Also the MaxBatchSize doesn't work when the remote server isn't available when the bridge on the local server is started. 
> Restarting the bridge makes the MaxBatchTime work again.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list