changed doc to reflect examples usage

using connector-name attribute got the following exception, -
 'AMQ214019: Invalid configuration: org.xml.sax.SAXParseException; cvc-type.3.1.1: Element 'connector-ref' is a simple type,
 so it cannot have attributes, excepting those whose namespace name is identical to
 'http://www.w3.org/2001/XMLSchema-instance' and whose [local name] is one of 'type',
   'nil', 'schemaLocation' or 'noNamespaceSchemaLocation'. However, the attribute, 'connector-name' was found.'
This commit is contained in:
Pat Fox 2016-06-02 18:03:51 +02:00 committed by Clebert Suconic
parent f182c806b6
commit bea8545ffc
1 changed files with 2 additions and 3 deletions

View File

@ -98,7 +98,7 @@ Let's take a look at an example broadcast group from
<group-address>231.7.7.7</group-address>
<group-port>9876</group-port>
<broadcast-period>2000</broadcast-period>
<connector-ref connector-name="netty-connector"/>
<connector-ref>netty-connector</connector-ref>
</broadcast-group>
</broadcast-groups>
@ -138,8 +138,7 @@ clarity. Let's discuss each one in turn:
- `connector-ref`. This specifies the connector and optional backup
connector that will be broadcasted (see [Configuring the Transport](configuring-transports.md) for more information on
connectors). The connector to be broadcasted is specified by the
`connector-name` attribute.
connectors).
Here is another example broadcast group that defines a JGroups broadcast
group: