Skip to content

Commit

Permalink
Merge pull request #177 from laurentpeters/issue_171
Browse files Browse the repository at this point in the history
fix #171: fix compilation problems
  • Loading branch information
NaikSoftware authored Nov 4, 2020
2 parents 518eebe + dc6f12c commit 3b7f7f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public class StompHeader {
public static final String VERSION = "accept-version";
public static final String HEART_BEAT = "heart-beat";
public static final String DESTINATION = "destination";
public static final String SUBSCRIPTION = "subscription";
public static final String CONTENT_TYPE = "content-type";
public static final String MESSAGE_ID = "message-id";
public static final String ID = "id";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
package ua.naiksoftware.stomp.pathmatcher;

import ua.naiksoftware.stomp.StompClient;
import ua.naiksoftware.stomp.dto.StompHeader;
import ua.naiksoftware.stomp.dto.StompHeader.*;
import ua.naiksoftware.stomp.dto.StompMessage;

public class SubscriptionPathMatcher implements PathMatcher {

private final StompClient stompClient;

public SubscriptionPathMatcher(StompClient stompClient) {
this.stompClient = stompClient;
}

@Override
public boolean matches(String path, StompMessage msg) {
// Compare subscription
Expand Down

0 comments on commit 3b7f7f8

Please sign in to comment.