侦听器端口的最大会话属性。
假设我们将最大会话设置为4。
在侦听器端口设置最大消息值及最大会话并发数。
The Maximum Messages value is set on the listener port, along with the Maximum Sessions concurrency setting.
消息的处理速度部分取决于该侦听器端口的最大会话属性值。
How quickly the messages are processed depends in part on the value of the listener port's maximum sessions property.
会话池应该大到能包含使用连接的任何侦听器端口的最大会话。
The session pool should be large enough to cover the Maximum Sessions value for any listener ports using the connection.
图1显示了连接池、会话池、线程池和最大会话属性之间的关系。
Figure 1 shows the relationship between the connection pool, session pool, thread pool and the maximum sessions property.
这与最大会话属性有直接关系,并因此与MDB的吞吐量也有关系。
This has a direct relationship to the maximum sessions property and, in turn, to the throughput of the MDBs.
MDB2配置为使用最大会话设置为1的ListenerPort2。
MDB2 is configured to use ListenerPort2 with maximum sessions set to 1.
这间接表明了最大会话设置值以及与侦听器端口的连接关联的会话池的大小。
This suggests a value for the Maximum Sessions setting and, in turn, the size of the session pool associated with the listener port's connection.
本文解释了最大会话属性的行为及其与消息侦听器服务线程池、连接池和会话池的关系。
This article explained the behavior of the maximum sessions property and its relationship to the message listener service thread pool, connection pool, and session pool.
那么该端口推荐的最大设置限度是什么,并且即使有分支,如何将最大会话调高?
What is the maximum recommended listener port setting, and the ramification, if any, for turning up the maximum session to high?
如果最大会话属性设置得太高,则将创建大量mdb实例,这可能影响应用服务器的性能。
If the maximum sessions property is set too high, there will be a large number of MDB instances created, which may affect the application server's performance.
这两个参数指定用于数据加载操作的最大会话数量,以及各加载进程所使用的最大会话数量。
These two parameters specify the maximum number of sessions used for the data load operation and the maximum number of session used by each loading process.
MDB1运行时具有两个会话,因为ListenerPort1的最大会话属性设置为2。
MDB1 is running with two sessions because the maximum sessions property is set to 2 for ListenerPort1.
即使侦听器端口的最大会话属性设置为一个较大的值,您也可能无法看到并发处理消息的会话数。
Even though the listener port's maximum sessions property is set to a higher value, you might not see that number of sessions processing messages concurrently.
例如,在本例中,如果我们将ListenerPort1中的最大会话设置为4,则将只有三个线程并行处理。
In this case, for example, if we set the maximum sessions in ListenerPort1 to 4, there will be only three threads processing in parallel.
例如,如果数据库一次只能处理10条消息,那么将JMS监听器最大会话数量从20增加到30将不能提高性能。
For example, if the database can only process 10 messages at time, increasing the JMS listener Max session from 20 to 30 will not improve performance.
MessageListener线程池应该比任何侦听器端口最大会话值大。 具体多大将取决于系统在负载下的工作方式。
The MessageListener thread pool should be larger than any of the listener port Maximum Session values; how much larger depends on how you want the system to behave under load.
MessageListener线程池应该比任何侦听器端口最大会话值大。 具体多大将取决于系统在负载下的工作方式。
The MessageListener thread pool should be larger than any of the listener port Maximum Session values; how much larger depends on how you want the system to behave under load.
应用推荐