Lukasz
Lukasz

Reputation: 7662

Timeout in JBI on Apache Camel

I'm developing a JBI component which calls another JBI component through Camel route. The second component performs some kind of long operation that sometimes may hang up. I would like to configure my Camel route so that it would be restricted with timeout (let's say 5 seconds). It should somehow behave as asynchronous call... Is it possible?

Upvotes: 1

Views: 144

Answers (1)

Claus Ibsen
Claus Ibsen

Reputation: 55555

Actually I don't think that's possible due the asynchronous nature of JBI.

Upvotes: 1

Related Questions