dcsimg

Does JMS support message acknowledgment?

Jerry Smith

Yes. With transacted sessions, acknowledgment is handled automatically by the session's commit(). With sessions that are not transacted, there are three options for message acknowledgment:

  • DUPS_OK_ACKNOWLEDGE
  • AUTO_ACKNOWLEDGE
  • CLIENT_ACKNOWLEDGE

See the JMS API documentation, in particular, the description for Session, for complete message acknowledgment information.