Sun Java logo     上一頁      目錄      索引      下一頁     

Sun logo
Sun Java System Message Queue 3 2005Q1 技術概述 

附錄A
選擇性 JMS 功能的 Message Queue 實作

JMS 規格會指出某些選擇性項目:每個 JMS 提供者 (供應商) 會選擇是否實作它們。本附錄描述 Message Queue 產品如何處理 JMS 選擇性項目。

本資料和應用程式開發者最有關係。

對每個 JMS 選擇性項目的處理指示於表 A-1

表 A-1 選擇性 JMS 功能 

JMS 規格中的小節

說明和 Message Queue 處理

3.4.3
JMSMessageID

"Since message IDs take some effort to create and increase a message's size, some JMS providers may be able to optimize message overhead if they are given a hint that message ID is not used by an application. JMS Message Producer provides a hint to disable message ID."

Message Queue 實作:    產品不停用訊息 ID 的產生 (MessageProducer 中的所有 setDisableMessageID() 呼叫均被忽略)。所有訊息均將包含有效的 MessageID 值。

3.4.12
Overriding Message Header Fields

"JMS does not define specifically how an administrator overrides these header field values. A JMS provider is not required to support this administrative option."

Message Queue 實作:    Message Queue 產品支援透過配置用戶端執行階段來管理覆寫訊息標頭欄位中的值 (請參閱覆寫訊息標頭值)。

3.5.9
JMS Defined Properties

"JMS Reserves the 'JMSX' Property name prefix for JMS defined properties."
"Unless noted otherwise, support for these properties is optional."

Message Queue實作:    Message Queue產品支援 JMS 1.1 規格定義的 JMSX 特性 (請參閱「Message Queue 管理指南」)。

3.5.10
Provider-specific Properties

"JMS reserves the 'JMS_<vendor_name>' property name prefix for provider-specific properties."

Message Queue 實作:    提供者特定的特性之用途是提供所需的特殊功能,以支援 JMS 與提供者原生用戶端一同使用。它們不應用於 JMS 以進行 JMS 訊息傳送。Message Queue 3 不會使用提供者特定的特性。

4.4.8
Distributed Transactions

"JMS does not require that a provider support distributed transactions."

Message Queue 實作:    此版本的 Message Queue 產品支援分散式作業事件 (請參閱作業事件)。

4.4.9
Multiple Sessions

"For PTP <point-to-point distribution model>, JMS does not specify the semantics of concurrent QueueReceivers for the same queue; however, JMS does not prohibit a provider from supporting this." See section 5.8 of the JMS specification for more information.

Message Queue 實作:    Message Queue 實作支援到多個使用者的佇列傳送。如需更多資訊,請參閱佇列傳送至多個用戶



上一頁      目錄      索引      下一頁     


文件號碼 819-2224。   Copyright 2005 Sun Microsystems, Inc. 版權所有。