Skip to content

JMS

The JMS binding. The emitted member is jms, and every object carries bindingVersion: 0.0.1.

@jmsServer

typespec
extern dec jmsServer(target: Namespace, config: valueof AsyncAPIJmsServerBinding);
FieldTypeRequired
jmsConnectionFactorystringyes
propertiesunknown[]no
clientIDstringno

Apply it to the service namespace.

jmsConnectionFactory is required. A binding without it is reported through missing-binding-field and dropped whole.

@jmsChannel

typespec
extern dec jmsChannel(
  target: Interface | Namespace,
  config: valueof AsyncAPIJmsChannelBinding
);
FieldTypeRequired
destinationstringno
destinationTypestringno

destinationType is queue or fifo-queue. JMS lists no exchange, unlike Anypoint MQ.

@jmsMessage

typespec
extern dec jmsMessage(target: Model, config: valueof AsyncAPIJmsMessageBinding);
FieldTypeRequired
headersunknownno