File tree 4 files changed +8
-8
lines changed
src/main/java/com/solace/samples/java
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 {
76
76
def scripts = [
77
77
' HelloWorld' : ' com.solace.samples.java.HelloWorld' ,
78
78
' DirectPublisher' : ' com.solace.samples.java.patterns.DirectPublisher' ,
79
- ' DirectSubscriber ' : ' com.solace.samples.java.patterns.DirectSubscriber ' ,
79
+ ' DirectReceiver ' : ' com.solace.samples.java.patterns.DirectReceiver ' ,
80
80
' DirectProcessor' : ' com.solace.samples.java.patterns.DirectProcessor' ,
81
81
' GuaranteedNonBlockingPublisher' : ' com.solace.samples.java.patterns.GuaranteedNonBlockingPublisher' ,
82
82
' GuaranteedBlockingPublisher' : ' com.solace.samples.java.patterns.GuaranteedBlockingPublisher' ,
83
- ' GuaranteedSubscriber ' : ' com.solace.samples.java.patterns.GuaranteedSubscriber ' ,
83
+ ' GuaranteedReceiver ' : ' com.solace.samples.java.patterns.GuaranteedReceiver ' ,
84
84
' GuaranteedProcessor' : ' com.solace.samples.java.patterns.GuaranteedProcessor' ,
85
85
' DirectReplierBlocking' : ' com.solace.samples.java.patterns.DirectReplierBlocking' ,
86
86
' 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 {
76
76
final DirectMessagePublisher publisher = messagingService .createDirectMessagePublisherBuilder ()
77
77
.onBackPressureWait (1 ).build ().start ();
78
78
79
- // create and start the subscriber
79
+ // create and start the receiver
80
80
final DirectMessageReceiver receiver = messagingService .createDirectMessageReceiverBuilder ()
81
81
.withSubscriptions (TopicSubscription .of (TOPIC_PREFIX + "*/hello/>" )).build ().start ();
82
82
final MessageHandler messageHandler = (inboundMessage ) -> {
Original file line number Diff line number Diff line change 31
31
/**
32
32
* A more performant sample that shows an application that subscribes.
33
33
*/
34
- public class DirectSubscriber {
34
+ public class DirectReceiver {
35
35
36
- private static final String SAMPLE_NAME = DirectSubscriber .class .getSimpleName ();
36
+ private static final String SAMPLE_NAME = DirectReceiver .class .getSimpleName ();
37
37
private static final String TOPIC_PREFIX = "solace/samples/" ; // used as the topic "root"
38
38
private static final String API = "Java" ;
39
39
Original file line number Diff line number Diff line change 31
31
import com .solace .messaging .resources .Queue ;
32
32
33
33
/**
34
- * A sample application showing non-blocking subscriber for Guaranteed messages.
34
+ * A sample application showing non-blocking Receiver for Guaranteed messages.
35
35
* This application assumes a queue named <code>q_java_sub</code> has already been
36
36
* created for it, and the topic subscription <code>solace/samples/*/pers/></code>
37
37
* has been added to it.
38
38
*/
39
- public class GuaranteedSubscriber {
39
+ public class GuaranteedReceiver {
40
40
41
- private static final String SAMPLE_NAME = GuaranteedSubscriber .class .getSimpleName ();
41
+ private static final String SAMPLE_NAME = GuaranteedReceiver .class .getSimpleName ();
42
42
private static final String QUEUE_NAME = "q_java_sub" ;
43
43
private static final String API = "Java" ;
44
44
You can’t perform that action at this time.
0 commit comments