void function ( ) { sendMessage ( input_for_aggregator_with_explicit_timeout , 2000 ) ; }
we expect to get back only one message from the aggregator . we set an explicit timeout value of 1 second on the aggregator . what we 'll see is that we get one aggregate message back immediately . we should not get another 3 after the 1 second . concode_field_sep DirectChannel input_for_aggregator_with_explicit_timeout concode_elem_sep QueueChannel reply concode_elem_sep DirectChannel input_for_aggregator_without_explicit_timeout concode_field_sep void testAggregatorWithTimeoutReturnsOnlyOneMessage concode_elem_sep void sendMessage