pub struct BridgeProcessConfig {
pub spec: &'static BridgeSpec,
pub binary_path: PathBuf,
pub broker_url: String,
pub broker_type: BrokerType,
pub username: Option<String>,
pub password: Option<String>,
pub start_timeout_ms: u64,
pub env_vars: Vec<(String, String)>,
}Fields§
§spec: &'static BridgeSpec§binary_path: PathBuf§broker_url: String§broker_type: BrokerType§username: Option<String>§password: Option<String>§start_timeout_ms: u64§env_vars: Vec<(String, String)>Implementations§
Source§impl BridgeProcessConfig
impl BridgeProcessConfig
Sourcepub fn jms(
binary_path: PathBuf,
broker_url: String,
broker_type: BrokerType,
username: Option<String>,
password: Option<String>,
start_timeout_ms: u64,
) -> Self
pub fn jms( binary_path: PathBuf, broker_url: String, broker_type: BrokerType, username: Option<String>, password: Option<String>, start_timeout_ms: u64, ) -> Self
Constructor for the JMS bridge.
Sourcepub fn xml(binary_path: PathBuf, start_timeout_ms: u64) -> Self
pub fn xml(binary_path: PathBuf, start_timeout_ms: u64) -> Self
Constructor for the XML bridge.
Sourcepub fn cxf_profiles(
binary_path: PathBuf,
profiles: &[CxfProfileEnvVars],
start_timeout_ms: u64,
) -> Self
pub fn cxf_profiles( binary_path: PathBuf, profiles: &[CxfProfileEnvVars], start_timeout_ms: u64, ) -> Self
Constructor for the CXF bridge with multi-profile support.
Generates CXF_PROFILES=list env var plus per-profile env vars.
Auto Trait Implementations§
impl Freeze for BridgeProcessConfig
impl RefUnwindSafe for BridgeProcessConfig
impl Send for BridgeProcessConfig
impl Sync for BridgeProcessConfig
impl Unpin for BridgeProcessConfig
impl UnsafeUnpin for BridgeProcessConfig
impl UnwindSafe for BridgeProcessConfig
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request