Interface MockEndpointBuilderFactory.MockBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- MockEndpointBuilderFactory
public static interface MockEndpointBuilderFactory.MockBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default MockEndpointBuilderFactory.MockEndpointBuilder
mock(String path)
Mock (camel-mock) Test routes and mediation rules using mocks.default MockEndpointBuilderFactory.MockEndpointBuilder
mock(String componentName, String path)
Mock (camel-mock) Test routes and mediation rules using mocks.
-
-
-
Method Detail
-
mock
default MockEndpointBuilderFactory.MockEndpointBuilder mock(String path)
Mock (camel-mock) Test routes and mediation rules using mocks. Category: core,testing Since: 1.0 Maven coordinates: org.apache.camel:camel-mock Syntax:mock:name
Path parameter: name (required) Name of mock endpoint- Parameters:
path
- name- Returns:
- the dsl builder
-
mock
default MockEndpointBuilderFactory.MockEndpointBuilder mock(String componentName, String path)
Mock (camel-mock) Test routes and mediation rules using mocks. Category: core,testing Since: 1.0 Maven coordinates: org.apache.camel:camel-mock Syntax:mock:name
Path parameter: name (required) Name of mock endpoint- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- name- Returns:
- the dsl builder
-
-