[ https://issues.apache.org/jira/browse/CAMEL-12022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16274139#comment-16274139 ]
ASF GitHub Bot commented on CAMEL-12022: ---------------------------------------- GitHub user ramu11 opened a pull request: https://github.com/apache/camel/pull/2125 "CAMEL-12022:direct component - Let the producer able to block and wa… git commit -a "CAMEL-12022:direct component - Let the producer able to block and wait for consumers to be started" You can merge this pull request into a Git repository by running: $ git pull https://github.com/ramu11/camel master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2125.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2125 ---- commit dd43d077e893ad136ebb54f23720ed7c585710ea Author: Ramu <kkaka...@redhat.com> Date: 2017-12-01T09:05:37Z "CAMEL-12022:direct component - Let the producer able to block and wait for consumers to be started" ---- > direct component - Let the producer able to block and wait for consumers to > be started > -------------------------------------------------------------------------------------- > > Key: CAMEL-12022 > URL: https://issues.apache.org/jira/browse/CAMEL-12022 > Project: Camel > Issue Type: Improvement > Components: camel-core > Reporter: Claus Ibsen > Fix For: 2.21.0 > > > Similar to what direct-vm component can do. We should let the direct producer > detect that if there is no consumer yet, then it can wait until its ready > (with timeout) during starting routes. > This can avoid the slim chance during route startup that you get a > DirectConsumerNotAvailableException -- This message was sent by Atlassian JIRA (v6.4.14#64029)