pub struct Route {
pub id: RouteId,
pub from: Arc<dyn Endpoint>,
pub pipeline: Arc<dyn Processor>,
}Expand description
A Route binds an input Endpoint to a Processor pipeline. The Consumer is
lazily created by CamelContext::start() so that a route can be described
declaratively before the context is running.
Fields§
§id: RouteId§from: Arc<dyn Endpoint>§pipeline: Arc<dyn Processor>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Route
impl !RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
impl !UnwindSafe for Route
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more