Direct VM

Direct VM

Scheme: direct-vm

The direct-vm endpoint.

Name Kind Type Required Deprecated Default Value Enum Values Description
name path java.lang.String true false Name of direct-vm endpoint
block parameter boolean false If sending a message to a direct endpoint which has no active consumer, then we can tell the producer to block and wait for the consumer to become active.
timeout parameter long false 30000 The timeout value to use if block is enabled.
failIfNoConsumers parameter boolean false Whether the producer should fail by throwing an exception, when sending to a DIRECT-VM endpoint with no active consumers.
exchangePattern parameter org.apache.camel.ExchangePattern false InOnly InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange.
synchronous parameter boolean false false Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). @param synchronous true to enforce synchronous processing

direct-vm consumer

The direct consumer.