Interface Serializer

All Known Implementing Classes:
DefaultSerializerDeserializer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Serializer
Serializes an object into a Message.
Since:
1.0.0
Author:
Elliott Pope
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.jms.Message
    serialize(jakarta.jms.Session session, Object body)
    Create a message from the body.
  • Method Details

    • serialize

      jakarta.jms.Message serialize(jakarta.jms.Session session, Object body)
      Create a message from the body.
      Parameters:
      session - the JMS session
      body - the message body
      Returns:
      the message