Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Unknown
Description
It seems reasonable to have a route like:
from("direct:binance") .to("xchange:binance"); from("direct:kraken") .to("xchange:kraken");
Unfortunately, this only seems possible by creating a dedicated component instance for each crypto exchange. The xchange instance is cached in the component, so the first endpoint to initialize it 'wins'.
I guess it should be cached per crypto exchange used on the endpoint(s).