This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • How do I send messages to different Destinations from a single MessageProducer
Skip to end of metadata
Go to start of metadata

How do I send messages to different Destinations from a single MessageProducer?

Create the MessageProducer using a null destination; then specify the destination each time you send...

MessageProducer producer = session.createProducer(null);
...
producer.send(someDestination, message);
...
producer.send(anotherDestination, message);
  • No labels