JMS
JMS binding。輸出的成員是 jms,每個物件都帶 bindingVersion: 0.0.1。
@jmsServer
typespec
extern dec jmsServer(target: Namespace, config: valueof AsyncAPIJmsServerBinding);| 欄位 | 型別 | 必填 |
|---|---|---|
jmsConnectionFactory | string | 是 |
properties | unknown[] | 否 |
clientID | string | 否 |
套用在服務 namespace 上。
jmsConnectionFactory 是必填。缺它時,binding 會透過 missing-binding-field 回報並整個丟棄。
@jmsChannel
typespec
extern dec jmsChannel(
target: Interface | Namespace,
config: valueof AsyncAPIJmsChannelBinding
);| 欄位 | 型別 | 必填 |
|---|---|---|
destination | string | 否 |
destinationType | string | 否 |
destinationType 是 queue 或 fifo-queue。JMS 沒有列 exchange,這一點和 Anypoint MQ 不同。
@jmsMessage
typespec
extern dec jmsMessage(target: Model, config: valueof AsyncAPIJmsMessageBinding);| 欄位 | 型別 | 必填 |
|---|---|---|
headers | unknown | 否 |