@Service public class CamelEndpointRegistryImpl extends Object implements EndpointRegistry, org.apache.camel.CamelContextAware
EndpointRegistry
.Constructor and Description |
---|
CamelEndpointRegistryImpl() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.CamelContext |
getCamelContext() |
Collection<String> |
getEndpointURIs(String includePattern)
Gets endpoint URIs which match specified pattern.
|
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
public Collection<String> getEndpointURIs(@Nullable String includePattern)
EndpointRegistry
Example: method with the following pattern ^(spring-ws|servlet).*$
will return URIs which starts
by spring-ws or servlet.
getEndpointURIs
in interface EndpointRegistry
includePattern
- pattern
for filtering endpoints URI - only whose URIs will
match specified pattern will be returnedpublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.