pub struct HttpOutboundAdapterSpecBlock {
pub id: Option<String>,
pub url: String,
pub method: Option<String>,
pub use_out_msg: Option<bool>,
pub from: Option<String>,
pub to: Option<String>,
}Fields§
§id: Option<String>§url: StringFull target URL (must include scheme — http:// or https://).
Replaces the legacy host + port + base-path triple as of
0.0.9. Parsing happens in the YAML parser; invalid URLs surface
as Error::Serialization rather than panicking at dispatch time.
method: Option<String>§use_out_msg: Option<bool>§from: Option<String>Channel-driven dispatch: when present, the runtime subscribes this
adapter to the named inbound channel and dispatches each arriving
exchange. When absent, the adapter is built but not auto-wired —
application code can still invoke .dispatch(&exchange) directly
(the legacy http-outbound example pattern).
to: Option<String>Outbound channel for the post-dispatch exchange. Ignored when
from is absent. When from is set but to is None, the
adapter is fire-and-forget: dispatch happens, the result is
logged, the message is dropped.
Trait Implementations§
Source§impl Clone for HttpOutboundAdapterSpecBlock
impl Clone for HttpOutboundAdapterSpecBlock
Source§fn clone(&self) -> HttpOutboundAdapterSpecBlock
fn clone(&self) -> HttpOutboundAdapterSpecBlock
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more