List of usage examples for org.springframework.integration.endpoint MethodInvokingMessageSource setMethodName
public void setMethodName(String methodName)
From source file:com.netflix.spring.sample.membership.Membership.java
@Bean public MethodInvokingMessageSource integerMessageSource() { MethodInvokingMessageSource source = new MethodInvokingMessageSource(); source.setObject(new AtomicInteger()); source.setMethodName("getAndIncrement"); return source; }