Skip to content

Latest commit

 

History

History
 
 

mdb-filewatcher

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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).