Class RawStringMessage

java.lang.Object
org.springframework.messaging.support.GenericMessage<String>
ca.uhn.fhir.broker.api.RawStringMessage
All Implemented Interfaces:
ca.uhn.fhir.rest.server.messaging.IMessage<String>, Serializable, org.springframework.messaging.Message<String>

public class RawStringMessage extends org.springframework.messaging.support.GenericMessage<String> implements ca.uhn.fhir.rest.server.messaging.IMessage<String>
A RawMessage is used to represent messages received from outside the system. The payload of these messages is available as a string. There are no constraints on the contents of the String. It could be an HL7v2 message, JSON, XML, CSV, etc.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    RawStringMessage(String thePayload, Map<String,Object> theHeaders)
     
  • Method Summary

    Methods inherited from class org.springframework.messaging.support.GenericMessage

    equals, getHeaders, getPayload, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface ca.uhn.fhir.rest.server.messaging.IMessage

    getHeader, getHeaders, getHeadersAsStrings, getMessageKey, getPayload