The @Polled annotation has been renamed @Poller (it no longer applies directly to a method).
This commit is contained in:
@@ -22,13 +22,13 @@ import java.util.Random;
|
||||
|
||||
import org.springframework.integration.annotation.Handler;
|
||||
import org.springframework.integration.annotation.MessageEndpoint;
|
||||
import org.springframework.integration.annotation.Polled;
|
||||
import org.springframework.integration.annotation.Poller;
|
||||
|
||||
/**
|
||||
* @author Mark Fisher
|
||||
*/
|
||||
@MessageEndpoint(input="tickers", output="quotes")
|
||||
@Polled(period=300)
|
||||
@Poller(period=300)
|
||||
public class QuoteService {
|
||||
|
||||
@Handler
|
||||
|
||||
Reference in New Issue
Block a user