[
https://issues.apache.org/jira/browse/CAMEL-12512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16475808#comment-16475808
]
Andrea Cosentino commented on CAMEL-12512:
------------------------------------------
Yeah, you're right. I added a check for non-emptiness in the else part.
> camel-consul - Option to inject Consul client
> ---------------------------------------------
>
> Key: CAMEL-12512
> URL: https://issues.apache.org/jira/browse/CAMEL-12512
> Project: Camel
> Issue Type: Wish
> Components: camel-consul
> Affects Versions: 2.21.1
> Reporter: Viachaslau Tsikhanovich
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 2.22.0
>
>
> It would be great to have an option to pass Consul client bean as a
> configuration parameter in a way similar as it is done for _amazonSQSClient_
> in camel-aws component (i.e.
> ["amazonSQSClient=#client"|http://camel.apache.org/aws-sqs.html]). So it
> could be "consulClient=#consul" for example.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)