public class SimpleRoutingSupport extends Object implements RoutingSupport
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DELIMITER |
| Constructor and Description |
|---|
SimpleRoutingSupport() |
SimpleRoutingSupport(String delimiter) |
| Modifier and Type | Method and Description |
|---|---|
String |
format(String sessionId,
String routeId)
Formats the specified session identifier and route identifier into a single identifier.
|
Map.Entry<String,String> |
parse(String id)
Parses the routing information from the specified session identifier.
|
public static final String DEFAULT_DELIMITER
public SimpleRoutingSupport()
public SimpleRoutingSupport(String delimiter)
public Map.Entry<String,String> parse(String id)
RoutingSupportparse in interface RoutingSupportid - the requested session identifier.public String format(String sessionId, String routeId)
RoutingSupportformat in interface RoutingSupportsessionId - a session identifierrouteId - a route identifier.Copyright © 2018 JBoss by Red Hat. All rights reserved.