I'm bit new with spring integration. I need help in designing a scenario. I have a following entity Model.
@Entity
@Table(name = "account")
public class Account {
@Column(name="lastmodified")
private Date lastModified;
@Column(name="syncDate")
private Date syncDate;
}
What i want to do is i want to trigger an event when there is a record in database for which lastModified != syncDate
Can you guys please guide me in right direction how i can achieve this with Spring-integration (XML solution will be more apriciated). I already have a method in my DAO Layer which returns Account objects with following scenario
Aucun commentaire:
Enregistrer un commentaire