Hi, What I'm actually trying to achieve is a log simplere. I am trying simulate a central transaction routing engine using JMS. I know it is a stupid idea, but I need to compare that with using JMS as a system input and RMI for internal computation to make a point.
I have 2 setups and I'm not good with ASCII art or any art for that matter so I'll try and explain the design. Setup 1: External PTP client puts JMS ByteMessages onto PTP queue testQueue. MDB takes messages off testQueue and based on state in message routes it to 1 of 4 queues (A,B,C and D). Queues A, B and C has MDB's listening on them and simple puts the message back onto testQueue with a new state. Eventually all messages end up in queue D. Setup 2: External PTP client puts JMS ByteMessages onto PTP queue testQueue. From there it is testQueue->MDB->A->MDB->A2->MDB->B->MDB->B2->MDB->C->MDB->C2->MDB->D. The reason for Setup 2's existence is that 1 uses testQueue for all incoming messages of the routing engine. This means that the load will not be shared effectively between all MDB's. Now, all the MDB's above the put data onto PTP queues have connections open to that queue. This maps to a lot of connections. Is it possible that the problem can be synchronization on these connections at the queue? -- Alwyn Schoeman SMART Money Inc. "The clock on the wall keeps moving, time stands still... No matter how the dice may fall, someone else always gets to call the number..."
msg22207/pgp00000.pgp
Description: PGP signature
