Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
* A sample that shows how to generate a Publisher/send span with Solace OpenTelemetry Integration
* for JCSMP.
* <p>
* Setup a Solace PubSub+ Broker and OpenTelemetry Collector as per tutorial >
* Setup a Solace Event Broker and OpenTelemetry Collector as per tutorial >
* https://codelabs.solace.dev/codelabs/dt-otel/index.html
* <p>
* This is the Publisher in the Publish-Subscribe messaging pattern.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
* A sample that shows how to generate a Publisher/send span with Solace OpenTelemetry Integration
* for JCSMP.
* <p>
* Setup a Solace PubSub+ Broker and OpenTelemetry Collector as per tutorial >
* Setup a Solace Event Broker and OpenTelemetry Collector as per tutorial >
* https://codelabs.solace.dev/codelabs/dt-otel/index.html
* <p>
* This is the Publisher in the Publish-Subscribe messaging pattern.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public static void main(String...args) throws JCSMPException, InterruptedExcepti
JCSMPChannelProperties channelProps = new JCSMPChannelProperties();
channelProps.setReconnectRetries(20); // recommended settings
channelProps.setConnectRetriesPerHost(5); // recommended settings
// https://docs.solace.com/Solace-PubSub-Messaging-APIs/API-Developer-Guide/Configuring-Connection-T.htm
// https://docs.solace.com/API/API-Developer-Guide/Configuring-Connection-T.htm
properties.setProperty(JCSMPProperties.CLIENT_CHANNEL_PROPERTIES, channelProps);
final JCSMPSession session;
session = JCSMPFactory.onlyInstance().createSession(properties, null, new SessionEventHandler() {
Expand Down Expand Up @@ -111,7 +111,7 @@ public void handleEvent(Object source, FlowEventArgs event) {
} catch (JCSMPErrorResponseException e) { // something else went wrong: queue not exist, queue shutdown, etc.
logger.error(e);
System.err.printf("%n*** Could not establish a connection to queue '%s': %s%n", queueName, e.getMessage());
System.err.println("Create queue using PubSub+ Manager WebGUI, and add subscription solace/tracing ");
System.err.println("Create queue using Broker Manager WebGUI, and add subscription solace/tracing ");
System.err.println(" or see the SEMP CURL scripts inside the 'semp-rest-api' directory.");
// could also try to retry, loop and retry until successfully able to connect to the queue
System.err.println("NOTE: see QueueProvision sample for how to construct queue with consumer app.");
Expand Down