Interface MockEndpointBuilderFactory.MockBuilders

All Known Subinterfaces:
EndpointBuilderFactory
All Known Implementing Classes:
EndpointRouteBuilder, EndpointRouteConfigurationBuilder
Enclosing interface:
MockEndpointBuilderFactory

public static interface MockEndpointBuilderFactory.MockBuilders
  • Method Details

    • mock

      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 name
      path - name
      Returns:
      the dsl builder