io.vertx.camel

## Interface CamelBridge

-     public interface CamelBridge

  Camel Bridge facade.
  Author:
    Clement Escoffier

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CamelBridge` | `create(Vertx vertx, CamelBridgeOptions bridgeOptions)` Creates a bridge between Camel endpoints and Vert.x
    `CamelBridge` | `start()` Starts the bridge.
    `CamelBridge` | `start(Handler<AsyncResult<Void>> completed)` Starts the bridge.
    `CamelBridge` | `stop()` Stops the bridge.
    `CamelBridge` | `stop(Handler<AsyncResult<Void>> completed)` Stops the bridge.

- - ### Method Detail

    - #### create

          static CamelBridge create(Vertx vertx,
                                    CamelBridgeOptions bridgeOptions)

      Creates a bridge between Camel endpoints and Vert.x
      Parameters:
        `vertx` - the vert.x instance
        `bridgeOptions` - the bridge configuration
      Returns:
        the created `CamelBridge`. It must be started explicitly.

    - #### start

          CamelBridge start()

      Starts the bridge. The bridge is started asynchronously.
      Returns:
        the current `CamelBridge`

    - #### start

          CamelBridge start(Handler<AsyncResult<Void>> completed)

      Starts the bridge.
      Parameters:
        `completed` - handler called when the bridge has been started.
      Returns:
        the current `CamelBridge`

    - #### stop

          CamelBridge stop()

      Stops the bridge. The bridges is stopped asynchronously.
      Returns:
        the current `CamelBridge`

    - #### stop

          CamelBridge stop(Handler<AsyncResult<Void>> completed)

      Stops the bridge.
      Parameters:
        `completed` - handler called when the bridge has been stopped.
      Returns:
        the current `CamelBridge`

Copyright © 2017. All rights reserved.