public class CamelAutoInterceptSendToEndpointStrategy
extends java.lang.Object
implements org.apache.camel.spi.EndpointStrategy
Constructor and Description |
---|
CamelAutoInterceptSendToEndpointStrategy() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
matchPattern(java.lang.String uri,
org.apache.camel.Endpoint endpoint,
java.lang.String pattern)
Does the pattern match the endpoint?
|
protected org.apache.camel.Producer |
onInterceptEndpoint(java.lang.String uri,
org.apache.camel.Endpoint endpoint,
org.apache.camel.component.mock.MockEndpoint mockEndpoint,
org.apache.camel.Producer mockProducer)
Callback when an endpoint was intercepted with the given mock endpoint
|
org.apache.camel.Endpoint |
registerEndpoint(java.lang.String uri,
org.apache.camel.Endpoint endpoint) |
java.lang.String |
toString() |
public CamelAutoInterceptSendToEndpointStrategy()
public org.apache.camel.Endpoint registerEndpoint(java.lang.String uri, org.apache.camel.Endpoint endpoint)
registerEndpoint
in interface org.apache.camel.spi.EndpointStrategy
protected boolean matchPattern(java.lang.String uri, org.apache.camel.Endpoint endpoint, java.lang.String pattern)
uri
- the uriendpoint
- the endpointpattern
- the patternprotected org.apache.camel.Producer onInterceptEndpoint(java.lang.String uri, org.apache.camel.Endpoint endpoint, org.apache.camel.component.mock.MockEndpoint mockEndpoint, org.apache.camel.Producer mockProducer)
uri
- the uriendpoint
- the endpointmockEndpoint
- the mocked endpointmockProducer
- the mock producerpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 Red Hat. All Rights Reserved.