There wasn't much documentation available. Essentially you need 2 files to get your apps running, namely :-
Next, you can carry on with your powershell coding using code example below :-
In summary, it create a timer and easy elapsed interval, it goes and peek at the message queue. If it is older than a pre-configure days, messages gets archived into a file. (this module is not implemented yet).
Assumption : You have installed and configure activeMq provider like Jboss Fuse.