You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/06/02 07:17:52 UTC
[GitHub] [camel] gnodet commented on a change in pull request #3880: CAMEL-14805: Component - Use doInit for wiring instead of doStart
gnodet commented on a change in pull request #3880:
URL: https://github.com/apache/camel/pull/3880#discussion_r433668555
##########
File path: components/camel-snmp/src/main/java/org/apache/camel/component/snmp/SnmpEndpoint.java
##########
@@ -265,8 +265,8 @@ public void setProtocol(String protocol) {
}
@Override
- protected void doStart() throws Exception {
- super.doStart();
+ protected void doInit() throws Exception {
+ super.doInit();
URI uri = URI.create(getEndpointUri());
Review comment:
No, there is no network access when creating a `URI` afaik.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org