pub struct JmsEndpointConfig {
pub destination_type: DestinationType,
pub destination_name: String,
pub broker_name: Option<String>,
pub acknowledgement_mode: AcknowledgementMode,
pub message_selector: Option<String>,
pub concurrent_consumers: u32,
pub transaction_mode: JmsTransactionMode,
pub time_to_live: Option<u64>,
pub priority: Option<u8>,
pub persistent_delivery: bool,
pub map_jms_headers: bool,
pub exchange_pattern: ExchangePattern,
}Fields§
§destination_type: DestinationType§destination_name: String§broker_name: Option<String>§acknowledgement_mode: AcknowledgementMode§message_selector: Option<String>§concurrent_consumers: u32§transaction_mode: JmsTransactionMode§time_to_live: Option<u64>Message time-to-live in milliseconds. None means no expiration.
priority: Option<u8>JMS message priority (0-9, where 9 is highest). None uses broker default.
persistent_delivery: boolWhether to use persistent delivery mode (default: true). Persistent messages survive broker restarts; non-persistent messages may be lost.
map_jms_headers: bool§exchange_pattern: ExchangePatternImplementations§
Source§impl JmsEndpointConfig
impl JmsEndpointConfig
pub fn from_uri(uri: &str) -> Result<Self, CamelError>
Trait Implementations§
Source§impl Clone for JmsEndpointConfig
impl Clone for JmsEndpointConfig
Source§fn clone(&self) -> JmsEndpointConfig
fn clone(&self) -> JmsEndpointConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for JmsEndpointConfig
impl RefUnwindSafe for JmsEndpointConfig
impl Send for JmsEndpointConfig
impl Sync for JmsEndpointConfig
impl Unpin for JmsEndpointConfig
impl UnsafeUnpin for JmsEndpointConfig
impl UnwindSafe for JmsEndpointConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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