|
How can I send a message to multiple Destinations using a MessageProducer? The trick is to pass null in for the destination when you create it; then you can specify the destination on each send. MessageProducer producer = session.createProducer(null);
...
producer.send(destination, message);
|