This causes the MDB to use two threads from the message listener service thread pool to process the messages.
这将导致MDB使用消息侦听器服务线程池中的两个线程来处理消息。
If a service thread does not handle an exception due to programming error, it will kill the whole application.
如果服务线程因编程错误而没有处理某个异常,则会造成整个应用程序崩溃。
Source code for a monolithic driver consists of both interrupt service thread code and platform specific code.
单体驱动的源代码由中断服务线程和平台相关的代码组成。
If we have enough threads in the message listener service thread pool, then we will see four threads processing messages in parallel.
如果在消息侦听器服务线程池中有足够的线程,则将看到四个线程并行处理消息。
The client cannot receive system exceptions that happen in the service thread (the thread on the service side of the asynchronous invocation).
客户端不能接收服务线程(异步调用的服务端上的线程)中发生的系统异常。
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.
本文解释了最大会话属性的行为及其与消息侦听器服务线程池、连接池和会话池的关系。
Since the ServiceStatus structure is global to the whole program, the worker loop in ServiceMain stops after the current state changes and the service thread terminates.
由于ServiceStatus结构对于整个程序而言为全局量,ServiceStatus 中的工作循环在当前状态改变或服务终止后停止。
There is a single message listener service and a single corresponding thread pool in each server for all the listener ports defined in that server and used by all the applications.
在每个服务器中,对于该服务器中定义并由所有应用程序使用的所有侦听器端口,仅存在一个消息侦听器服务和一个相应的线程池。
In the asynchronous with deferred response invocation, the invoked service USES a new thread of execution.
在带延迟响应调用的异步调用中,被调用的服务使用新的执行线程。
In the asynchronous with callback invocation, the invoked service USES a new thread of execution.
在带回调的异步调用中,被调用的服务使用新的执行线程。
A client invokes a service that then executes on its own thread, while the thread of execution in the client continues further processing.
客户端调用一个服务,该服务然后在自己的线程上执行任务,而客户端中的执行线程继续执行后续处理。
In the synchronous invocation, the invoked service USES the same thread of execution as used by the mediation flow.
在同步调用中,调用的服务使用的执行线程与中介流使用的执行线程相同。
Synchronous: a client invokes a service that then executes on the same thread of execution as the client.
同步:客户端调用一个服务,该服务然后在与该客户端相同的执行线程上执行任务。
When a business process component invokes a target service component, any runtime exception encountered by the target thread is delivered back to the process component.
业务流程组件调用目标服务组件时,目标线程遇到的任何运行时异常都被提交回流程组件。
Number of waits and total wait time: the number of instances and total elapsed time when the thread was waiting while invoking a method or service.
等待数量和总等待时间:调用某方法或服务时,等待线程的实例数量和总占用时间。
The original thread used by the mediation flow continues, but any response returned from the invoked service isn't available to this thread.
中介流使用的初始线程继续执行,但是此线程不能使用从被调用的服务返回的任何响应。
Asynchronous - the consumer USES a pair of threads to invoke the service; one thread sends the request, then a separate thread receives the response.
异步——使用者通过两个线程调用服务;一个线程发送请求,而另一个单独的线程接收响应。
The invoked service runs on its own thread and, when it completes its processing, the response is sent back to the calling client, which is received on a different thread.
调用的服务在自己的线程上运行,该服务完成其处理时,将相应发送回给调用客户端,而调用客户端将使用一个不同的线程来接收这个响应。
When the service returns, the client continues processing on the same thread (see Figure 1).
当服务返回时,客户端继续在同一线程上进行处理(参见图1)。
When a service component is invoked synchronously, both the client and the service provider execute in the same thread.
当同步调用服务组件时,客户端和服务提供程序在同一线程中执行。
Every review looks at service, design, dining, cleanliness, nearby nightlife, and even the thread count of the sheets on the beds.
每一条评论都会关注酒店的服务、设计、餐饮、清洁度、附近的夜生活,甚至床单的针脚匀不匀。
When the thread returns with the service response, the execution continues in the mediation flow.
当线程返回服务响应时,在中介流中继续执行。
Pretty much any kind of external service is going to require an asynchronous call that returns on the UI thread.
几乎任何类型的外部服务都需要一个返回UI线程的异步调用。
The message listener service is configured to use a thread pool that has the maximum threads property set to 4.
消息侦听器服务配置为使用最大线程属性设置为4的线程池。
Later, the thread on which the client is running requests a response from the service.
稍后,客户端运行的线程从该服务请求响应。
Synchronous – The consumer uses a single thread to invoke the service; the thread sends the request, blocks while the service is running, and waits for the response.
同步——使用者通过单个线程调用服务;该线程发送请求,在服务运行时阻塞,并且等待响应。
A shortcoming of the synchronous approach is that the consumer must wait while the service is performed — the consumer's thread must block while the service runs.
同步方法的不足之处在于,在执行服务时使用者必须阻塞——在服务运行时线程必须阻塞。
A process itself in this case is executed asynchronously on a separate thread, which means that service returns the reply to the invoker while process is running.
此时,流程在单线程中异步执行,也就是说当流程运行时,服务会返回一个应答给服务调用者。
You can then make calculations to determine the service rates for each thread (and subsequently the service rate for the entire server).
然后可以进行计算,以确定每个线程的服务速率(并据此得到整个服务器的服务速率)。
Thread pool in the message listener service.
消息侦听器服务中的线程池。
应用推荐