I think the direct-vm was created in Camel 2 when you could have multiple
CamelContexts (for example in Karaf). When you would run multiple
CamelContexts and you want call another route then you needed direct-vm.
Since Camel 3 there is only one CamelContext, thus in most cases you can
use "direct" (synchronous invocation) or "seda" (asynchronous invocation).

If you have multiple contexts now (assuming these are running in separate
JVM's) then you require something like ActiveMQ or RabbitMQ as an
intermediary broker.

Raymond

On Tue, Nov 7, 2023 at 6:37 PM Arthur Naseef <artnas...@apache.org> wrote:

> As posted on the ASF slack camel channel:
>
> Hey guys - what is the camel 4 replacement for direct-vm?  Looking around,
> I just see "deprecated" and no indication what alternative is expected to
> be used.
>
> Even comments in the related Jira ticket are quiet on it:
> https://issues.apache.org/jira/browse/CAMEL-19132 (edited)
>
> @davsclaus
>  looks like you worked on this :point_up:
>
>
> Art
>

Reply via email to