Class Solace.PublishResult

java.lang.Object
org.apache.beam.sdk.io.solace.data.Solace.PublishResult
Enclosing class:
Solace

@DefaultSchema(AutoValueSchema.class) public abstract static class Solace.PublishResult extends Object
The result of writing a message to Solace. This will be returned by the SolaceIO.Write connector.

This class provides a builder to create instances, but you will probably not need it. The write connector will create and return instances of Solace.PublishResult.

If the message has been published, getPublished() will be true. If it is false, it means that the message could not be published, and getError() will contain more details about why the message could not be published.

  • Constructor Details

    • PublishResult

      public PublishResult()
  • Method Details