I'm really not purposefully trying to be the most annoying person on the
mailing list, but...
Now that I have clustering working, it actually works *too* well. My
remote component receives every message twice! The onMessageExchange()
method looks like this:
public void onMessageExchange(MessageExchange exchange)
throws MessagingException {
System.out.println("BILLING GOT A MESSAGE!");
done(exchange);
}
I've confirmed that the sender of my example is only sending the message
once, but the "BILLING GOT A MESSAGE!" message is displayed twice for
every message that the sender sends.
Oh...one other thing: If I have my sender and receiver containers up and
talking to each other, then I shut down and restart the receiver,
shouldn't I expect that once the receiver is back in business that the
sender should still be able to send messages to it? I've tried this and it
warns that the "billing" service isn't available after the receiving
container is bounced. Any clues?