Package org.serviceconnector.service

Examples of org.serviceconnector.service.ReceivePublicationTimeout


              new SubscriptionMask(reqMessage.getHeader(SCMPHeaderAttributeKey.MASK)));
        }
        // subscription has not been rejected, add server to subscription
        PublishMessageQueue<SCMPMessage> publishMessageQueue = ((IPublishService) this.tempSubscription.getService())
            .getMessageQueue();
        ReceivePublicationTimeout crpTimeout = new ReceivePublicationTimeout(publishMessageQueue, noDataIntervalMillis);
        SubscriptionMask subscriptionMask = tempSubscription.getMask();
        publishMessageQueue.subscribe(tempSubscription.getId(), subscriptionMask, crpTimeout);
        // finally add subscription to the registry & schedule subscription timeout internal
        this.subscriptionRegistry.addSubscription(tempSubscription.getId(), tempSubscription);
        SubscriptionLogger.logSubscribe(serviceName, tempSubscription.getId(), subscriptionMask.getValue());
View Full Code Here


              new SubscriptionMask(reqMessage.getHeader(SCMPHeaderAttributeKey.MASK)));
        }
        // subscription has not been rejected, add server to subscription
        PublishMessageQueue<SCMPMessage> publishMessageQueue = ((IPublishService) this.tempSubscription.getService())
            .getMessageQueue();
        ReceivePublicationTimeout crpTimeout = new ReceivePublicationTimeout(publishMessageQueue, noDataIntervalMillis);
        SubscriptionMask subscriptionMask = tempSubscription.getMask();
        publishMessageQueue.subscribe(tempSubscription.getId(), subscriptionMask, crpTimeout);
        // finally add subscription to the registry & schedule subscription timeout internal
        this.subscriptionRegistry.addSubscription(tempSubscription.getId(), tempSubscription);
        SubscriptionLogger.logSubscribe(serviceName, tempSubscription.getId(), subscriptionMask.getValue());
View Full Code Here

TOP

Related Classes of org.serviceconnector.service.ReceivePublicationTimeout

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.