StompSession.send

An overloaded version of {@link #send(string, Object)} with full {@link StompHeaders} instead of just a destination. The headers must contain a destination and may also have other headers such as "content-type" or custom headers for the broker to propagate to subscribers, or broker-specific, non-standard headers.. @param headers the message headers @param payload the message payload @return a Receiptable for tracking receipts

  1. Receiptable send(string destination, Object payload)
  2. Receiptable send(StompHeaders headers, Object payload)
    interface StompSession

Meta