Details
Description
The IPFS component needs to create a connection to some IPFS node. Currently that happens when the endpoint is created, which happens when the CamelContext is started.
I was wondering whether I should defer that until the first endpoint invocation occurs. In which case camelctx.start() would succeed and I could asked the endpoint whether a connection could be established (e.g. Assume.assumeTrue(comp.getIPFSClient().hasConnection()))
Currently, camelctx.start() will fail when a connection cannot be established. Is there a convention on how camelctx.start() should behave when a remote connection is needed?
Attachments
Issue Links
- links to