Configuring Connection Details
The Spring Cloud Stream Binder for PubSub+ uses Spring Boot Auto-Configuration for the Solace Java API to configure its session. In the application.yml
, this typically is configured as follows:
solace: java: host: tcp://localhost:55555 msg-vpn: default client-username: default client-password: default
For more information and options to configure the PubSub+ session, see Spring Boot Auto-Configuration for the Solace Java API.
Preventing Message Loss when Publishing to Topic-to-Queue Mappings
If the connector is publishing to a topic that is subscribed to by a queue, messages may be lost if they are rejected (for example, if queue ingress is shut down).
To prevent message loss, configure the reject-msg-to-sender-on-discard option with the including-when-shutdown
flag.
SFTP Connection Details
The Spring Cloud Stream standard properties for the Connector for SFTP are as follows.
Config Option | Type | Valid Values | Description |
---|---|---|---|
|
|
Required format:
For example:
|
The source or target SFTP server URI and the directory path. The destination must include the start directory name. |
|
|
|
The SFTP consumer/producer is implemented using the Apache Camel SFTP component. This property must be set to |
For source- or target-specific configuration, see SFTP Source Configuration Options and SFTP Target Configuration Options, respectively.
Connecting to Multiple Systems
This connector does not support multiple binder system configurations. The multiple binder systems configuration may be supported in future releases.