Configure Solace
Use the service port type Solace to connect to a Solace queue and to push and pull messages.
Configure your service port
Once you have created your service port, you can configure the general service port details:
Attribute |
Description |
---|---|
General - Name |
Enter the name of the service port. |
General - Type |
Select your service port technology. |
Read / Write / Read & Write |
Select what your service port should do with messages:
|
Real Service |
Select if you want to connect to a real service. |
Allow OSV to forward requests to the real service. To use this option, you need to select Real Service. |
|
Allow OSV to store forwarded messages in the Recorder tab. To use this option, you need to enable Forwarding. |
|
Active |
Select if you want your service port to be active, deselect to set it to inactive. |
To connect to Solace, specify the following attributes:
Attribute |
Description |
---|---|
Type |
Select Queue or Topic. Your choice depends on how you push and pull your messages with Solace. Queues represent a one-to-one messaging pattern, while topics allow one-to-many messaging. |
Name |
Enter the name of the queue or topic you want to connect to. |
Host |
Enter the name or IP address of the host. |
Username |
If your connection requires authentication, enter your user name. |
Password |
If your connection requires authentication, enter your password. |
MessageType |
Specify what type of message you want to send and receive: JmsTextMessage or JmsBytesMessage. |
Selector |
Define a selector to filter the headers and properties of incoming JMS messages. This allows you to receive only JMS messages that match your filter criteria. For detailed information on supported Solace selectors, see the Solace documentation (opens in new tab). |
Port |
Specify the port to address Solace. |
VpnName |
Specify the name of the message VPN you want to join. |
Unprocessable Messages |
Determine how to handle messages in a queue that a client can no longer process:
|
Solace service port
To save your changes, select Apply. To discard your changes, select Reset.
Once you have configured your service port, you can use your Solace connection for testing. For information on how to edit JMS messages for your OSV Scenarios, check out "Edit JMS messages".