其次,它在队列连接中创建一个队列会话,并通过查找上下文对象获得一个指定名称的队列。
From the queue connection factory, a queue connection is created. Next, a queue session is created from a queue connection and a queue is retrieved by looking up the context object with a queue name.
每个队列连接都有一个与之相关联的会话池。
Every queue connection has a session pool associated with it.
通过发出这条命令,启动与源队列管理器的交互式会话
Start an interactive session with the source queue manager by issuing this command
通过发出这条命令,启动与与目标队列管理器的交互式会话。
Start an interactive session with the target queue manager by issuing this command.
通过发出下列命令,利用目标队列管理器启动交互式MQSC会话。
Start an interactive MQSC session with the target queue manager by issuing the following command.
通过发出下述命令,利用源队列管理器启动交互式MQSC会话
Start an interactive MQSC session with the source queue manager by issuing the following command
您可以采用已有的会话bean来访问一个或多个主题和队列,而不必重建整个基础设施。
Rather than rebuild your entire infrastructure, you can adapt existing session beans to access one or more topics and queues.
通过发出end命令,利用源队列管理器停止交互式MQSC会话。
Stop the interactive MQSC session with the source queue manager by issuing the end command.
使用end命令来停止与源队列管理器的交互式会话。
Use the end command to stop the interactive session with the source queue manager.
清单1中的代码说明了如何找到Queue和QueueConnectionFactory、如何创建连接和会话、如何将XML填充到TextMessage,以及如何将消息发送给队列。
The code in Listing 1 demonstrates how to locate a queue and QueueConnectionFactory, create a connection and a session, stuff the XML into a TextMessage, and send the message to the queue.
然后,它将创建连接、会话以及JMS目的地的消息生成器,并将文本消息放入队列中。
Then it creates the connection, session and finally a message producer for the JMS destination, puts the text message into the queue.
在选定的会话中,正在传入到计算机的字节数的速率。只计算消息队列消息中的字节数。
The rate at which bytes are arriving at the computer in the selected session. Only bytes in Message Queuing messages are counted.
在选定的会话中,正在传入到计算机的字节数的速率。只计算消息队列消息中的字节数。
The rate at which bytes are arriving at the computer in the selected session. Only bytes in Message Queuing messages are counted.
应用推荐