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

NotifyBuilder MockComponent methods are deprecated and there is no replacement

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.x
    • 3.0.0.RC1, 3.0.0
    • camel-test
    • None
    • Unknown

    Description

      Several methods of the NotifyBuilder that receive MockComponent as a parameter are deprecated and are going to be removed from version 3+, but there is no viable replacement at the moment.

      From related email conversation (http://mail-archives.apache.org/mod_mbox/camel-users/201907.mbox/%3CMWHPR11MB138984E7FFB0DA82C043F4F395FA0%40MWHPR11MB1389.namprd11.prod.outlook.com%3E):

      Claus> Well we can take a look at adding some kind of SPI interface that advice with can use and then mock implement that.

      And then potentially other components can be used too (in theory).

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            zeppelinux Dmitry Shultz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: