Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6545

seda producer - Add option to fail for non existing queue

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.12.0
    • camel-core
    • None
    • Novice

    Description

      See
      http://stackoverflow.com/questions/17457231/in-apache-camel-how-can-i-receive-an-error-if-an-endpoint-doesnt-exist

      It would be nice if we can configure a seda producer endpoint to fail if sending to a queue with no consumers at runtime, when the producer tries to send to the queue.

      .to("seda:foo?failIfNoConsumers=true")

      Maybe the name should be failIfNoConsumers ?

      For example the direct component has an exception DirectConsumerNotAvailableException. So we would need a SedaConsumerNotAvailableException for this component.

      Attachments

        Activity

          People

            njiang Willem Jiang
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: