Package org.apache.camel.spi
Interface MockSendToEndpointStrategyFactory
public interface MockSendToEndpointStrategyFactory
Factory for intercepting sending to endpoint pattern and sending to mock component. This requires having camel-mock
on the classpath.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionMock sending to endpoint
-
Field Details
-
FACTORY
- See Also:
-
-
Method Details
-
mock
Mock sending to endpoint- Parameters:
pattern
- pattern for intercepting (null or * = intercept all, otherwise its an text pattern (and regexp).skip
- whether to skip sending to original endpoint (only to mock endpoint).- Returns:
- the endpoint strategy that intercepts.
-