Skip to content
Browse files

topic hack...

  • Loading branch information...
1 parent b0e384a commit 1ff7cd298d10dacf3254dd55afb856d47faebe21 @chamerling chamerling committed Nov 15, 2012
View
9 .../java/com/ebmwebsourcing/wsstar/wsnb/services/impl/engines/SubscriptionManagerEngine.java
@@ -685,7 +685,14 @@ public WsnSubscription getSubscription(String uuid) {
return result;
}
- List<String> uuids = uuidsPerTopics.get(topic);
+ // FIXME : really bad hack...
+ // create a new localpart from prefix
+ String localPart = topic.getLocalPart();
+ if (topic.getPrefix() != null) {
+ localPart = topic.getPrefix() + ":" + topic.getLocalPart();
+ }
+ QName t = new QName(topic.getNamespaceURI(), localPart);
+ List<String> uuids = uuidsPerTopics.get(t);
if (uuids != null) {
for (String id : uuids) {
WsnSubscription subscription = getSubscription(id);

0 comments on commit 1ff7cd2

Please sign in to comment.
Something went wrong with that request. Please try again.