Examples of Unsubscribe


Examples of org.jboss.ws.extensions.eventing.jaxws.Unsubscribe

      //SysmonUtil.printSubscriptionDetails(subscribeResponse);

      // addressing correlation
      AddressingProperties unsubscribeProps = SysmonUtil.buildFollowupProperties(subscribeResponse, EventingConstants.UNSUBSCRIBE_ACTION, eventSourceURI);
      SysmonUtil.setRequestProperties((BindingProvider)managementPort, unsubscribeProps);
      managementPort.unsubscribeOp(new Unsubscribe());

      AddressingProperties getStatusProps = SysmonUtil.buildFollowupProperties(subscribeResponse, EventingConstants.GET_STATUS_ACTION, eventSourceURI);
      SysmonUtil.setRequestProperties((BindingProvider)managementPort, getStatusProps);

      try
View Full Code Here

Examples of org.oasis_open.docs.wsn.b_2.Unsubscribe

    public void resume() throws JBIException {
        request(new ResumeSubscription());
    }

    public void unsubscribe() throws JBIException {
        request(new Unsubscribe());
    }
View Full Code Here

Examples of org.oasis_open.docs.wsn.b_2.Unsubscribe

        renew.setTerminationTime(terminationTime);
        subscription.renew(renew);
    }

    public void unsubscribe() throws UnableToDestroySubscriptionFault, ResourceUnknownFault {
        subscription.unsubscribe(new Unsubscribe());
    }
View Full Code Here

Examples of org.oasis_open.docs.wsn.b_2.Unsubscribe

    }

    @Override
    protected void stopSubscription(Object sub) {
        try {
            ((SubscriptionManager) sub).unsubscribe(new Unsubscribe());
        } catch (Exception e) {
            LOGGER.log(Level.INFO, "Error while unsubscribing on-demand publisher", e);
        }
    }
View Full Code Here

Examples of org.oasis_open.docs.wsn.b_2.Unsubscribe

  public void resume() throws JBIException {
    request(new ResumeSubscription());
  }
 
  public void unsubscribe() throws JBIException {
    request(new Unsubscribe());
  }
View Full Code Here

Examples of org.oasis_open.docs.wsn.b_2.Unsubscribe

        renew.setTerminationTime(terminationTime);
        subscription.renew(renew);
    }

    public void unsubscribe() throws UnableToDestroySubscriptionFault, ResourceUnknownFault {
        subscription.unsubscribe(new Unsubscribe());
    }
View Full Code Here

Examples of org.oasis_open.docs.wsn.b_2.Unsubscribe

    }

    @Override
    protected void stopSubscription(Object sub) {
        try {
            ((SubscriptionManager) sub).unsubscribe(new Unsubscribe());
        } catch (Exception e) {
            LOGGER.log(Level.INFO, "Error while unsubscribing on-demand publisher", e);
        }
    }
View Full Code Here

Examples of org.servicemix.ws.xmlbeans.eventing.UnsubscribeDocument.Unsubscribe

            subscribe.setUseNotify(true);
            subscribe.setConsumerReference(endpointReference);
            SubscribeResponseDocument reponse = p.Subscribe(requestDoc);
        } else {
            UnsubscribeDocument requestDoc = UnsubscribeDocument.Factory.newInstance();
            Unsubscribe unsubscribe = requestDoc.addNewUnsubscribe();           
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.