The JMS address extensibility element specifies the JMS server connectivity information.
The connectionURL attribute is required. The other attributes are optional.
All of the attributes apply to both providers and consumers.
Attribute |
Description |
Example |
---|---|---|
A URL that specifies the connectivity information to connect to the JMS server. |
mq://localhost:7676 |
|
username |
Specifies the username used for connecting to the JMS server. |
|
password |
Specifies the password used for connecting to the JMS server. |
|
The following example illustrates the JMS address extensibility element.
<port binding="y:binding" name="jmsOutOnlyTestEndpoint"> <jms:address connectionURL="mq://localhost:7676" username="admin" password="admin"/> </port> |