Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 751 Bytes

File metadata and controls

13 lines (7 loc) · 751 Bytes

File Watcher MDB

What is this?

This sample project demonstrates that writing (and testing) JCA resource adapter is fairly easy. We implemented Message Driven Bean which observes certain directory for files which are created, updated or deleted.

It's tested using:

  • Arquillian - powerful testing middleware
  • Awaitility - simple, yet powerful DSL that allows you to express expectations of an asynchronous system in a concise and easy to read manner

This sample project is based on Robert Panzer work (read the full blog post by Robert here).