You can configure various messaging properties to improve JMS messaging performance. Following is a quick summary of the main areas you should be looking at.
Tuning Large Messages
You can tune large messages by defining message quotas and tuning the maximum message size, as explained in the following sections.
Defining Quotas on Destinations Oracle recommends that you always configure message count quotas to prevent message logs from using up all of a server's memory. By default, there's no quota on message counts. Messages continue to consume memory even after they're paged out because paging removes the message bodies, but doesn't page out the message headers. Oracle recommends that you assume each current JMS message consumes ...