Class CommonMessageFactory

java.lang.Object
org.openwms.common.comm.osip.CommonMessageFactory

public final class CommonMessageFactory extends Object
A CommonMessageFactory.
Author:
Heiko Scherrer
  • Constructor Details

    • CommonMessageFactory

      private CommonMessageFactory()
  • Method Details

    • createHeader

      public static OSIPHeader createHeader(String telegram)
      Create a OSIPHeader from a passed telegram structure.
      Parameters:
      telegram - The telegram
      Returns:
      A OSIPHeader instance
    • createHeaders

      public static org.springframework.messaging.MessageHeaders createHeaders(String telegram, Map<String,Object> headers)
    • getOSIPHeaders

      public static <T extends Payload> org.springframework.messaging.MessageHeaders getOSIPHeaders(org.springframework.messaging.Message<T> message)