[jboss-user] [JBoss Messaging] - Delayed Message Sucking

chip_schoch do-not-reply at jboss.com
Thu Dec 6 12:38:25 EST 2007

JBossSS 4.2.2.GA, JBM 1.4.0.SP1

2 Node linux cluster running JBM. (L1, L2)
2 Unclustered windown JBoss servers with services that consume from linux cluster JBM. (W1, W2)

Using ClusteredConnectionFactory definition on W1, W2 such that both machines are connecting to partial queue on L1.  Posting messages to clustered (partial) queues in round-robin fashion such that all messages posted to partial queue L2 are sucked to L1 for consumption by W1, W2.

Each message posted contains a correlation id that the consumer puts in a response message that is posted to an output queue.

I post 10 messages and I receive 5 responses.  Using a combination of logging and eclipse debugger I have determined that the 5 missing responses are stuck in a loop on L2 in ClientConsumer.getMessage().  Meanwhile, the 5 response messages are sitting in the output queue on L1.  (verified by jmx-console). Posting another message causes all 5 messages to then get sucked from L1 to L2 and the processing completes.  Also, after some indeterminate amount of time, without posting additional messages, the messages seem to be eventually sucked over from L1 to L2 and processing completes.

Is there any way to stop these messages from getting hung up on L1.  Is there tuning for the MessageSucker.


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

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

More information about the jboss-user mailing list