From 78fb873e92a8885b6393933197699b6109b40afb Mon Sep 17 00:00:00 2001 From: Adam Retter Date: Tue, 18 Apr 2023 16:52:20 +0100 Subject: [PATCH] Add an example of a JMS Server Binding Object --- jms/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/jms/README.md b/jms/README.md index 250ef47c..9c2a0456 100644 --- a/jms/README.md +++ b/jms/README.md @@ -45,6 +45,25 @@ Field Name | Type | Description `clientID` | string | **OPTIONAL**. A client identifier for applications that use this JMS connection factory. If the Client ID Policy is set to 'Restricted' (the default), then configuring a Client ID on the [ConnectionFactory](https://docs.oracle.com/javaee/7/api/javax/jms/ConnectionFactory.html) prevents more than one JMS client from using a connection from this factory. `bindingVersion` | string | **OPTIONAL**, defaults to `latest`. The version of this binding. +### Examples + +The following example shows a `servers` object with a server binding object for `jms` with JMS specific properties: + +```yaml +servers: + production: + url: jms://my-activemq-broker:61616 + protocol: jms + protocolVersion: '1.1' + description: The production ActiveMQ broker accessed via JMS. + bindings: + jms: + # JMS protocol specific server details + jmsConnectionFactory: org.apache.activemq.ActiveMQConnectionFactory + properties: + disableTimeStampsByDefault: false + clientID: my-application-1 +```