com.apollographql.subscription.exception.InactiveSubscriptionException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of federation-spring-subscription-callback Show documentation
Show all versions of federation-spring-subscription-callback Show documentation
GraphQL Java server support for Apollo Federation
The newest version!
package com.apollographql.subscription.exception;
import com.apollographql.subscription.callback.SubscriptionCallback;
/**
* Exception thrown when subscription becomes inactive (router responds using 2xx status to any
* callback message).
*/
public class InactiveSubscriptionException extends RuntimeException {
public InactiveSubscriptionException(SubscriptionCallback callback) {
super("Callback protocol " + callback + " failed to communicate with router");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy