Interface RoutingSupport

  • All Known Implementing Classes:
    SimpleRoutingSupport

    public interface RoutingSupport
    Exposes the mechanism for parsing and formation routing information from/into a requested session identifier.
    Author:
    Paul Ferraro
    • Method Detail

      • parse

        Map.Entry<CharSequence,​CharSequence> parse​(CharSequence requestedSessionId)
        Parses the routing information from the specified session identifier.
        Parameters:
        requestedSessionId - the requested session identifier.
        Returns:
        a map entry containing the session ID and routing information as the key and value, respectively.
      • format

        CharSequence format​(CharSequence sessionId,
                            CharSequence route)
        Formats the specified session identifier and route identifier into a single identifier.
        Parameters:
        sessionId - a session identifier
        route - a route identifier.
        Returns:
        a single identifier containing the specified session identifier and routing identifier.