Class PulsarMessageUtils
- java.lang.Object
-
- org.apache.camel.component.pulsar.utils.message.PulsarMessageUtils
-
public final class PulsarMessageUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]serialize(Object body)static org.apache.camel.ExchangeupdateExchange(org.apache.pulsar.client.api.Message<byte[]> message, org.apache.camel.Exchange input)static org.apache.camel.ExchangeupdateExchangeWithException(Exception exception, org.apache.camel.Exchange input)
-
-
-
Method Detail
-
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
-
-