Interface MockEndpointBuilderFactory.MockBuilders

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