You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2019/03/13 09:09:00 UTC
[jira] [Resolved] (CAMEL-13263) Lenient IPFS connection check on
startup
[ https://issues.apache.org/jira/browse/CAMEL-13263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino resolved CAMEL-13263.
--------------------------------------
Resolution: Fixed
> Lenient IPFS connection check on startup
> ----------------------------------------
>
> Key: CAMEL-13263
> URL: https://issues.apache.org/jira/browse/CAMEL-13263
> Project: Camel
> Issue Type: Task
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Priority: Major
> Fix For: 3.0.0, 2.23.2, 2.24.0, 3.0.0-M2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)