Project: springxd
Issue XD-592: Problems with advanced tapping
Start of a test program that can be placed in StreamCommandTests: {code} @Test public void testTappingAndChannels() { executeStreamCreate("myhttp","http --port=9314 | transform --expression=payload.toUpperCase() | log",true); executeStreamCreate("tap","tap @myhttp.1 | log",true);	executeStreamCreate("tap_new","tap myhttp.1 > log",true);	executeCommand("http post --data Dracarys! --target http://localhost:9314"); // TODO verify both logs output DRACARYS! } {code} In the test program see two taps. One using the older style and one using the newer style and '>' so that there is no real tap module source, the log module just gets its input channel wired directly to myhttp.1 (the output of transform). They should be doing the same thing. However when run the output for tap_new is missing, all I see is: {code} 11:39:36,055 WARN New I/O worker #28 logger.tap:141 - DRACARYS! 11:39:36,059 WARN New I/O worker #28 logger.myhttp:141 - DRACARYS! {code} No errors are reported, there is just no output for tap_new.
Story points: 8