File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
lib/src/main/java/ua/naiksoftware/stomp Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ public class StompHeader {
88 public static final String VERSION = "accept-version" ;
99 public static final String HEART_BEAT = "heart-beat" ;
1010 public static final String DESTINATION = "destination" ;
11+ public static final String SUBSCRIPTION = "subscription" ;
1112 public static final String CONTENT_TYPE = "content-type" ;
1213 public static final String MESSAGE_ID = "message-id" ;
1314 public static final String ID = "id" ;
Original file line number Diff line number Diff line change 11package ua .naiksoftware .stomp .pathmatcher ;
22
3+ import ua .naiksoftware .stomp .StompClient ;
34import ua .naiksoftware .stomp .dto .StompHeader ;
5+ import ua .naiksoftware .stomp .dto .StompHeader .*;
46import ua .naiksoftware .stomp .dto .StompMessage ;
57
68public class SubscriptionPathMatcher implements PathMatcher {
79
10+ private final StompClient stompClient ;
11+
12+ public SubscriptionPathMatcher (StompClient stompClient ) {
13+ this .stompClient = stompClient ;
14+ }
15+
816 @ Override
917 public boolean matches (String path , StompMessage msg ) {
1018 // Compare subscription
You can’t perform that action at this time.
0 commit comments