File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
src/main/java/com/solace/samples/java Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,11 @@ tasks.withType(JavaCompile).all {
7676def scripts = [
7777 ' HelloWorld' : ' com.solace.samples.java.HelloWorld' ,
7878 ' DirectPublisher' : ' com.solace.samples.java.patterns.DirectPublisher' ,
79- ' DirectSubscriber ' : ' com.solace.samples.java.patterns.DirectSubscriber ' ,
79+ ' DirectReceiver ' : ' com.solace.samples.java.patterns.DirectReceiver ' ,
8080 ' DirectProcessor' : ' com.solace.samples.java.patterns.DirectProcessor' ,
8181 ' GuaranteedNonBlockingPublisher' : ' com.solace.samples.java.patterns.GuaranteedNonBlockingPublisher' ,
8282 ' GuaranteedBlockingPublisher' : ' com.solace.samples.java.patterns.GuaranteedBlockingPublisher' ,
83- ' GuaranteedSubscriber ' : ' com.solace.samples.java.patterns.GuaranteedSubscriber ' ,
83+ ' GuaranteedReceiver ' : ' com.solace.samples.java.patterns.GuaranteedReceiver ' ,
8484 ' GuaranteedProcessor' : ' com.solace.samples.java.patterns.GuaranteedProcessor' ,
8585 ' DirectReplierBlocking' : ' com.solace.samples.java.patterns.DirectReplierBlocking' ,
8686 ' DirectRequestorBlocking' : ' com.solace.samples.java.patterns.DirectRequestorBlocking' ,
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ public static void main(String... args) throws IOException {
7676 final DirectMessagePublisher publisher = messagingService .createDirectMessagePublisherBuilder ()
7777 .onBackPressureWait (1 ).build ().start ();
7878
79- // create and start the subscriber
79+ // create and start the receiver
8080 final DirectMessageReceiver receiver = messagingService .createDirectMessageReceiverBuilder ()
8181 .withSubscriptions (TopicSubscription .of (TOPIC_PREFIX + "*/hello/>" )).build ().start ();
8282 final MessageHandler messageHandler = (inboundMessage ) -> {
Original file line number Diff line number Diff line change 3131/**
3232 * A more performant sample that shows an application that subscribes.
3333 */
34- public class DirectSubscriber {
34+ public class DirectReceiver {
3535
36- private static final String SAMPLE_NAME = DirectSubscriber .class .getSimpleName ();
36+ private static final String SAMPLE_NAME = DirectReceiver .class .getSimpleName ();
3737 private static final String TOPIC_PREFIX = "solace/samples/" ; // used as the topic "root"
3838 private static final String API = "Java" ;
3939
Original file line number Diff line number Diff line change 3131import com .solace .messaging .resources .Queue ;
3232
3333/**
34- * A sample application showing non-blocking subscriber for Guaranteed messages.
34+ * A sample application showing non-blocking Receiver for Guaranteed messages.
3535 * This application assumes a queue named <code>q_java_sub</code> has already been
3636 * created for it, and the topic subscription <code>solace/samples/*/pers/></code>
3737 * has been added to it.
3838 */
39- public class GuaranteedSubscriber {
39+ public class GuaranteedReceiver {
4040
41- private static final String SAMPLE_NAME = GuaranteedSubscriber .class .getSimpleName ();
41+ private static final String SAMPLE_NAME = GuaranteedReceiver .class .getSimpleName ();
4242 private static final String QUEUE_NAME = "q_java_sub" ;
4343 private static final String API = "Java" ;
4444
You can’t perform that action at this time.
0 commit comments