Announcement Announcement Module
Collapse
No announcement yet.
JMS MessageProducer.send Async Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMS MessageProducer.send Async

    This is a non-Spring related question. Does JMS, by its default spec, support asynchronous sending of a message from a client? In other words, when I perform the following in my client code:

    Code:
    MessageProducer prod = session.createProducer(topic);
                prod.send(someObject);
    Does my client have to wait for that prod.send(someObject); call to return from the server for me to move on with my execution? I understand that many messaging servers, such as ActiveMQ, support async mode of a message production. However, I am just wondering whether the JMS spec itself support such a message production mode.
Working...
X