Class PulsarMessageUtils

java.lang.Object
org.apache.camel.component.pulsar.utils.message.PulsarMessageUtils

public final class PulsarMessageUtils extends Object
  • Method Details

    • updateExchange

      public static org.apache.camel.Exchange updateExchange(org.apache.pulsar.client.api.Message<byte[]> message, org.apache.camel.Exchange input)
    • updateExchangeWithException

      public static org.apache.camel.Exchange updateExchangeWithException(Exception exception, org.apache.camel.Exchange input)
    • serialize

      public static byte[] serialize(Object body) throws IOException
      Throws:
      IOException