Skip to content

Commit

Permalink
Add an example of a JMS Server Binding Object
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Apr 18, 2023
1 parent 63dfad7 commit 78fb873
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions jms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,25 @@ Field Name | Type | Description
<a name="serverBindingObjectJMSClientID"></a>`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.
<a name="serverBindingObjectBindingVersion"></a>`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
```
<a name="channel"></a>
Expand Down

0 comments on commit 78fb873

Please sign in to comment.