Represents a direct endpoint that synchronously invokes the consumer of the endpoint when a producer sends a message to it.
Name | Kind | Type | Required | Deprecated | Default Value | Enum Values | Description |
---|---|---|---|---|---|---|---|
name | path | java.lang.String | true | false | Name of direct 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. @param timeout the timeout value | ||
failIfNoConsumers | parameter | boolean | false | Whether the producer should fail by throwing an exception, when sending to a DIRECT 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 |
The direct consumer.