Class PulsarBatchListenerFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.pulsar.PulsarException
org.springframework.pulsar.listener.PulsarBatchListenerFailedException
All Implemented Interfaces:
Serializable

public class PulsarBatchListenerFailedException extends PulsarException
Batch message listeners should throw this exception in the event of an error.
See Also:
  • Constructor Details

    • PulsarBatchListenerFailedException

      public PulsarBatchListenerFailedException(String msg, org.apache.pulsar.client.api.Message<?> message)
    • PulsarBatchListenerFailedException

      public PulsarBatchListenerFailedException(String msg, Throwable cause, org.apache.pulsar.client.api.Message<?> message)
  • Method Details

    • getMessageInError

      public Object getMessageInError()