2 Replies Latest reply on Nov 11, 2002 2:52 PM by bernmic

    2 Receiver 1 Sender

    bernmic

      Maybe my last description was too ugly:

      How can I connect 2 receivers to 1 sender so that each receiver will get same amount of messages from the sender?

      My problem is, that I have 2 physical serial lines to the same destination. Under heavy usage should my application separate the traffic to both lines. I implemented 2 receiver, listening on the same queue. But only one gets all of the messages!

      Please help, Michael

        • 1. Re: 2 Receiver 1 Sender
          joelvogt

          you might have better luck publishing and subscribing to a topic. You might have to make sure the same message isn't done twice if this is your situation

          • 2. Re: 2 Receiver 1 Sender
            bernmic

            Thank you for your answer. The problem was another. just before the QueueSender.send I invoked a entity bean with a finder method. Each thread uses in my test the same bean and the container locked ist (arghhhhhh.....)

            Michael