AnsweredAssumed Answered

How testing TimerBoundaryEvent

Question asked by mlegnani on Jul 1, 2011
Latest reply on Jul 4, 2011 by mlegnani
Hi all,
this is my fist post on the forum.
I'm trying to create a junit tests for the process of my application. I'm using spring integration for my application. I have troubles for the processes including a TimerBoundaryEvent: events are not fired.
I suppose this is because the JobExecutor cannot access uncommitted process data on the DB. I usually configure tests not to commit with @TransactionConfiguration(defaultRollback = true) but even if I change the configuration (defaultRollback = false) events are not fired.
Do you have a standard pattern to test processes that use TimerBoundaryEvent? How do you suggest to approach the problem?
Thanks in advance
Massimo

Outcomes