javaee7-samples/jca/mdb-filewatcher at master · javaee-samples/javaee7-samples · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

README.md

File Watcher MDB

What is this?

This sample project demonstrates that writing (and testing) a JCA resource adapter is fairly easy. We implemented a Message Driven Bean which observes a 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).