Interface JmsIO.MessageMapper<T>

  • All Superinterfaces:
    java.io.Serializable
    Enclosing class:
    JmsIO
    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 static interface JmsIO.MessageMapper<T>
    extends java.io.Serializable
    An interface used by JmsIO.Read for converting each jms Message into an element of the resulting PCollection.
    • Method Detail

      • mapMessage

        T mapMessage​(javax.jms.Message message)
              throws java.lang.Exception
        Throws:
        java.lang.Exception