Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When a JMS client connects to WSO2 the EI Message Broker (WSO2 MB), the connection parameters are specified using the connectionfactory interface as shown below.

...

Note

Note that the clientID is used for identifying the client and is only applicable for durable topic subscriptions. However, since this value is not validated in WSO2 MBthe EI Message Broker, you can enter any arbitrary string as the clientID.

...

  • <user>:<pass>@: This is the username:password that will be used to connect to WSO2 MBEI Message Broker. Note that this user should have the required permissions granted in WSO2 MBthe broker. See the section for user permissions in WSO2 MB for more information on how permissions are defined.

  • /<virtualhost>: The name of the virtual host, where the virtual host is a path that acts as a namespace. A name consists of any combination of the following: At least one alphanumerical value [A-Za-z0-9] and optionally special characters [.-_+!=:].

  • <option>='<value>': You can enter multiple options with values as explained below. These options should be separated by '&'.

    OptionDescription
    brokerlist

    The list of brokers to use for this connection. The value should contain the URL of the broker as well as any other optional values. You can add any number of broker URLs separated by ';' as shown below.

    brokerlist='<broker url>[;<broker url>]'

    See the topic below on Using the brokerlist option for details on how to configure the broker URL.

    failoverThis option controls how failover occurs when you have a list of brokers. The value used with the failover option should contain the failover method as well as any other optional values. See the topic below on Using the failover option for details.

...