diff --git a/build.gradle b/build.gradle index dab321c..d243c57 100644 --- a/build.gradle +++ b/build.gradle @@ -87,7 +87,7 @@ dependencies { // Use JUnit test framework. //testImplementation 'junit:junit:4.13' - //Distributed Tracing Dependency on OpenTelemetry and Solace OpenTelemetry JCSMP Integration + // Distributed tracing dependencies: OpenTelemetry and OpenTelemetry for Solace JCSMP API implementation group: 'com.solace', name: 'solace-opentelemetry-jcsmp-integration', version: '1.1.0' implementation group: 'io.opentelemetry', name: 'opentelemetry-exporter-otlp', version: '1.47.+' implementation group: 'io.opentelemetry.semconv', name: 'opentelemetry-semconv', version: '1.29.+' diff --git a/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/GuaranteedPublisherWithCustomPropagation.java b/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/GuaranteedPublisherWithCustomPropagation.java index d143c78..630a383 100644 --- a/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/GuaranteedPublisherWithCustomPropagation.java +++ b/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/GuaranteedPublisherWithCustomPropagation.java @@ -48,10 +48,10 @@ import io.opentelemetry.semconv.SemanticAttributes; /** - * A sample that shows how to generate a Publisher/send span with Solace OpenTelemetry Integration - * for JCSMP. + * A sample that shows how to generate a Publisher/send span with OpenTelemetry for Solace JCSMP + * API. *

- * 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 *

* This is the Publisher in the Publish-Subscribe messaging pattern. diff --git a/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/GuaranteedPublisherWithManualInstrumentation.java b/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/GuaranteedPublisherWithManualInstrumentation.java index e7aead5..6befebd 100644 --- a/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/GuaranteedPublisherWithManualInstrumentation.java +++ b/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/GuaranteedPublisherWithManualInstrumentation.java @@ -45,10 +45,10 @@ import io.opentelemetry.semconv.SemanticAttributes; /** - * A sample that shows how to generate a Publisher/send span with Solace OpenTelemetry Integration - * for JCSMP. + * A sample that shows how to generate a Publisher/send span with OpenTelemetry for Solace JCSMP + * API. *

- * 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 *

* This is the Publisher in the Publish-Subscribe messaging pattern. diff --git a/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/QueueSubscriberWithManualInstrumentation.java b/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/QueueSubscriberWithManualInstrumentation.java index e3ef47c..35e376e 100644 --- a/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/QueueSubscriberWithManualInstrumentation.java +++ b/src/main/java/com/solace/samples/jcsmp/features/distributedtracing/QueueSubscriberWithManualInstrumentation.java @@ -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.");