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

The 'ignoreInvalidEndpoint' option isn't relevant for a static URI for WireTap component

    XMLWordPrintableJSON

Details

    • Unknown
    • Hide
      The relevant doc describing the 'ignoreInvalidEndpoint' option says: Ignore the invalidate endpoint exception when try to create a producer with that endpoint.

      It doesn't mention that this applicable only for the dynamic endpoint URIs.
      Show
      The relevant doc describing the 'ignoreInvalidEndpoint' option says: Ignore the invalidate endpoint exception when try to create a producer with that endpoint. It doesn't mention that this applicable only for the dynamic endpoint URIs.

    Description

      The 'ignoreInvalidEndpoint' option for the WireTap component has no effect on the non-dynamic endpoints.

      The worst thing is that there is no warning that the set option is going to be ignored.

      I'm not sure about the design decision here, but from the user point of view it's confusing and not what one can expect.

       

      My use case:

      I defined a route configuration that by default does some processing of the intercepted messages and also sends them to a preconfigured endpoint. In my design this endpoint is optional and a route for it could be defined only if the default processing isn't enough. 

      But because the endpoint URI is static and the 'ignoreInvalidEndpoint' has no effect, I get the messages stuck in-flight.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            Gomoliako Eduard Gomoliako
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: