You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/05/30 15:48:20 UTC

[jira] [Commented] (CAMEL-5911) seda/vm - Add option to discard message if no active consumers

    [ https://issues.apache.org/jira/browse/CAMEL-5911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13670342#comment-13670342 ] 

Claus Ibsen commented on CAMEL-5911:
------------------------------------

This is a bit more tough as the consumers/producers may have different uris, eg you may only set ?discardOnNoConsumers=true on the producer side. That means there is two endpoints in play. One for the consumer, and another for the producer. And therefore its harder from the producer to figure out if there is any active consumers.

As it should be tied to the queue, and not endpoint. This requires a little API change and a bit more code refactoring to support.
                
> seda/vm - Add option to discard message if no active consumers
> --------------------------------------------------------------
>
>                 Key: CAMEL-5911
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5911
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: Future
>
>
> When using seda/vm queues, you may have 0..n active consumers. 
> There may be use-cases where you want to discard a message if there is no current active consumers to process the message.

--
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