solace-samples-java-jcsmp
solace-samples-java-jcsmp copied to clipboard
Getting Started Samples for the Solace JCSMP Java API.
This snippet demonstrates how to enable payload compression on a session.
As mentioned in Jira, this adds some text/code in the SecureSession sample to indicate how to load an in-memory truststore. Cannot add a working example to the code as this...
The commit demonstrates a best practice for automatically refreshing the OAuth tokens on a "RECONNECTING" session event.
A SimpleFlowToQueue that also demonstrates how to handle: 1. Automatic reconnections 2. Non Ack messages 3. Duplicates 4. Messages that can't be Ack or Non-Ack
1. Amended `DirectPublisherWithManualInstrumentation` to add example span attributes and baggage for contextual information. 2. Added a new `QueueSubscriberWithManualInstrumentation` that creates a `receive` and `processing` span 3. Included an example of...
OpenTelemetry made breaking changes to their OTel semantic conventions library, which subseqently caused JCSMP samples to break as we were pulling in the latest version. This small PR just sets/hardcodes...