Services
Activator
public interface EmployeeService {
public Employee update(final Employee employee);
}<si:service-activator
input-channel="updateEmployeeChannel"
output-channel="employeeOutputChannel"
ref="employeeService" method="update">
</si:service-activator>Header Fields as Arguments
public interface EmployeeService {
public Employee update(final Employee employee,
@Header(value = "EVENT_TYPE") final String event);
}Last updated