Class CamelMessage<T>

  • All Implemented Interfaces:
    Message<T>

    public class CamelMessage<T>
    extends Object
    implements Message<T>
    • Constructor Detail

      • CamelMessage

        public CamelMessage​(org.apache.camel.Exchange exchange)
    • Method Detail

      • getPayload

        public T getPayload()
        Specified by:
        getPayload in interface Message<T>
        Returns:
        The payload for this message.
      • getPayload

        public T getPayload​(Class<T> clazz)
      • getExchange

        public org.apache.camel.Exchange getExchange()