/** * Creates a {@link SubscribeResponse subscribe response} with the specified * subscription reference address. * * @param subscriptionReferenceAddress * the subscription reference address. * * @return a subscribe response with the specified subscription reference * address. */ public static SubscribeResponse createSubscribeResponse(String subscriptionReferenceAddress) { SubscribeResponse subscribeResponse = new SubscribeResponse(); subscribeResponse.setSubscriptionReference(WSNHelper.createWSA(subscriptionReferenceAddress)); return subscribeResponse; }
subscriptionReferenceAddress).referenceParameter( createElement(subscriptionId)).build(); subscribeResponse.setSubscriptionReference(subscriptionReference); } finally { Thread.currentThread().setContextClassLoader(classLoader);
response.setSubscriptionReference(pub.getEpr()); callback.subscribe(topic); return response;
response.setSubscriptionReference(subscription.getEpr()); success = true; return response;
res.setSubscriptionReference(b.build()); GregorianCalendar gcal = new GregorianCalendar(); gcal.setTimeInMillis(System.currentTimeMillis());