Skip to Main Content
WildFly Performance Tuning - Third Edition
book

WildFly Performance Tuning - Third Edition

by Arnold Johansson, Anders Welén
June 2014
Intermediate to advanced content levelIntermediate to advanced
330 pages
7h 50m
English
Packt Publishing
Content preview from WildFly Performance Tuning - Third Edition

Tuning the session

When connecting to a JMS session, you should strive to reuse an existing session as it can be quite expensive and time-consuming to create a new. Note that reusing an existing session is only fully acceptable within a thread as the session in not thread-safe.

In order to realize the requirements of guaranteed delivery, JMS defines an acknowledgement mechanism that is used in the communication between the clients. The behavior of this mechanism can be controlled by selecting an appropriate acknowledgement mode. The JMS specification provides the following three modes:

  • CLIENT_ACKNOWLEDGE: Any client code must acknowledge the message by calling one of its acknowledge methods. Failing to do this may lead to a serious buildup of resources ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Wildfly Cookbook

Wildfly Cookbook

Luigi Fugaro

Publisher Resources

ISBN: 9781783980567