The @Polled annotation has been renamed @Poller (it no longer applies directly to a method).

This commit is contained in:
Mark Fisher
2008-08-05 21:30:44 +00:00
parent 1e82a8d568
commit 528f5e6341
5 changed files with 22 additions and 22 deletions

View File

@@ -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