commercetools JVM SDK bindings for reactive streams
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE.md
README.md
RELEASING.md
pom.xml

README.md

Bindings for Reactive Streams and the commercetools JVM SDK

SPHERE.IO icon

Javadoc

Maven:

<dependency>
    <groupId>com.commercetools.sdk.jvm.reactive-streams</groupId>
    <artifactId>commercetools-reactive-streams</artifactId>
    <version>replace with version above (maven central)</version>
</dependency>

Getting a publisher:

import io.sphere.sdk.client.SphereClient;
import io.sphere.sdk.products.Product;
import io.sphere.sdk.products.queries.ProductQuery;
import io.sphere.sdk.reactivestreams.SphereReactiveStreams;
import org.reactivestreams.Publisher;

public class QueryAllIdentifiableDemo {
    public static void demo(final SphereClient client) {
        final Publisher<Product> productPublisher =
            SphereReactiveStreams.publisherOf(ProductQuery.of(), client);
    }
}