public final class JMSEndpointParser extends Object
Modifier and Type | Method and Description |
---|---|
protected static String |
convertPathToActualDestination(String path)
A strategy method allowing the URI destination to be translated into the actual JMS destination name
(say by looking up in JNDI or something)
|
static JMSEndpoint |
createEndpoint(String uri) |
protected static JMSEndpoint |
createEndpoint(String uri,
String remaining)
A factory method allowing derived components to create a new endpoint from the given URI, remaining
path and optional parameters
|
static JMSURIConstants |
getConfiguration() |
static String |
removeStartingCharacters(String text,
char ch)
Removes any starting characters on the given text which match the given character
|
protected static void |
validateURI(String uri,
String path,
Map parameters)
Strategy for validation of the uri when creating the endpoint.
|
public static JMSEndpoint createEndpoint(String uri) throws Exception
Exception
protected static void validateURI(String uri, String path, Map parameters) throws ResolveEndpointFailedException
uri
- the uri - the uri the end user provided untouchedpath
- the path - part after the schemeparameters
- the parameters, an empty map if no parameters givenResolveEndpointFailedException
- should be thrown if the URI validation failedprotected static JMSEndpoint createEndpoint(String uri, String remaining) throws Exception
uri
- the full URI of the endpointremaining
- the remaining part of the URI without the query parameters or component prefixparameters
- the optional parameters passed inException
protected static String convertPathToActualDestination(String path)
public static JMSURIConstants getConfiguration()
Apache CXF