|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.InterceptSendToMockEndpointStrategy
public class InterceptSendToMockEndpointStrategy
A EndpointStrategy
which is capable of mocking endpoints.
CamelContext
beforehand.
Constructor Summary | |
---|---|
InterceptSendToMockEndpointStrategy()
Mock all endpoints. |
|
InterceptSendToMockEndpointStrategy(String pattern)
Mock endpoints based on the given pattern. |
Method Summary | |
---|---|
Endpoint |
registerEndpoint(String uri,
Endpoint endpoint)
Register the endpoint. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InterceptSendToMockEndpointStrategy()
public InterceptSendToMockEndpointStrategy(String pattern)
pattern
- the pattern.EndpointHelper.matchEndpoint(String, String)
Method Detail |
---|
public Endpoint registerEndpoint(String uri, Endpoint endpoint)
EndpointStrategy
registerEndpoint
in interface EndpointStrategy
uri
- uri of endpointendpoint
- the current endpoint to register
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |