Interface JmsDispatch


public interface JmsDispatch
The abstraction of a fully-realized out-bound JMS message.

A JmsDispatch is meant to be dispatched/sent by a JmsDispatchFn.

Since:
1.0
Author:
Lei Yang
  • Method Details

    • to

      At to()
    • type

      default String type()
    • correlationId

      default String correlationId()
    • body

      default Object body()
    • bodyOf

      default BodyOf<?> bodyOf()
    • replyTo

      default At replyTo()
    • ttl

      default Duration ttl()
      Defines if the dispatch has a TTL.

      The default, null, means no TTL to set.

    • groupId

      default String groupId()
    • groupSeq

      default int groupSeq()
    • properties

      default Map<String,Object> properties()
      Application properties.
    • delay

      default Duration delay()
    • toDispatch

      static JmsDispatch toDispatch(At to, String type)
      Single body value. Generated correlation id.
      Parameters:
      to -
      type -
      Returns:
    • toDispatch

      static JmsDispatch toDispatch(At to, String type, Object body)
      Single body value. Generated correlation id.
      Parameters:
      to -
      type -
      body -
      Returns:
    • toDispatch

      static JmsDispatch toDispatch(At to, String type, Object body, String id)
      Single body value. Generated correlation id.
      Parameters:
      to -
      type -
      body -
      id -
      Returns:
    • toDispatch

      static JmsDispatch toDispatch(At to, String type, Object body, String id, Map<String,Object> properties)
      Single body value. Generated correlation id.
      Parameters:
      to -
      type -
      body -
      id -
      properties -
      Returns: