Polling works

Taken from http://pi4j.com/example/listener.html