Project: springxd
Issue XD-1173: Duplicate messages on tap
If I fiddle with the testTappingWithLabels method I can reproduce the same issue: HttpSource source = newHttpSource(); FileSink sink = newFileSink().binary(true); FileSink tapsink1 = newFileSink().binary(true); stream().create("myhttp", "%s | flibble: transform --expression=payload.toUpperCase() | flibble2: transform --expression=payload.toUpperCase() | %s", source, sink); stream().create("mytap4", "tap:stream:myhttp.flibble > transform --expression=payload.replaceAll('A','.') | %s", tapsink1); source.ensureReady().postData("Dracarys!"); assertThat(sink, eventually(hasContentsThat(equalTo("DRACARYS!")))); assertThat(tapsink1, eventually(hasContentsThat(equalTo("DR.C.RYS!")))); java.lang.AssertionError: Expected: "DR.C.RYS!", trying at most 10 times but: failed after 10*100=1000ms: "DR.C.RYS!DR.C.RYS!",
Story points: 3