Package org.servicemix.ws.xmlbeans.eventing

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


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

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


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

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

    }

    @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

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

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

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

    }

    @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

            subscribe.setTopicExpression( TopicExpressionConverter.toTopicExpression(topic) );
            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

Related Classes of org.servicemix.ws.xmlbeans.eventing.UnsubscribeDocument$Unsubscribe

Copyright © 2018 www.massapicom. 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.