]
Markus Lutum commented on JBMESSAGING-1543:
-------------------------------------------
Sorry for comment spamming:
I just made a test with maxbatchsize = 5.
If I add more messages to the queue after this startup error and reconnect the
maxbatchsize is working. This means that after I added 4 messages I can wait forever for
delivery. If I add the fifth message all 5 messages are delivered via the bridge.
If I add the 6 to 9th message I again can wait forever....
I think the real error is that the initialization or handling of the MaxBatchTime does not
work if the startup of the Bridge failed.
Now I stop spamming :-)
Message Bridge does not start if the first attempt failed
---------------------------------------------------------
Key: JBMESSAGING-1543
URL:
https://jira.jboss.org/jira/browse/JBMESSAGING-1543
Project: JBoss Messaging
Issue Type: Bug
Affects Versions: 1.4.0.SP3, 1.4.2.GA.SP1
Environment: Windows XP, Java 1.5.0_17, JBoss AS 4.2.3.GA, JBossRemoting
2.5.0.SP2
Reporter: Alexei Sadovnikov
Assignee: Howard Gao
Fix For: 1.4.0.SP3.CP08, 1.4.4.GA
The server A sends messages to the queue QA. A message bridge is deployed on the server
B, it reads messages from QA and sends them to the queue QB on the server B. If we start
the server A first and then the server B then the bridge works properly. If we start the
server B first, the bridge fails to start (as expected), then we start the server A. The
bridge detects that A is running and the source connection (the message "Succeeded in
connecting to servers" is printed), but it does not deliver any messages.
The same happens if messages are sent to a queue on the server B and should be bridged to
a queue on the server A.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: