camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Whiteside (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-6151) Add support to DirectEndpoint for blocking until a consumer is available
Date Fri, 19 Apr 2013 23:39:15 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-6151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aaron Whiteside updated CAMEL-6151:
-----------------------------------

    Attachment: blocking_producer3.patch

Refactored all producer blocking/locking into a DirectBlockingProducer class.
                
> Add support to DirectEndpoint for blocking until a consumer is available
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-6151
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6151
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.10.4, 2.11.0
>            Reporter: Aaron Whiteside
>             Fix For: Future
>
>         Attachments: blocking_producer2.patch, blocking_producer3.patch, blocking_producer.patch
>
>
> My use case is that some routes will be dynamically redployed at runtime.
> Ideally instead of retrying when a direct endpoints consumer disappears temporarily it
would be nice if the direct producer would block for a configurable duration waiting for a
consumer to come, back, into existence.
> The default would obviously be not to block, to maintain backwards compatibility.
> Something along these lines:
> {code}
> direct:xxxx?block=true&timeout=5000
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message