Monday, January 16, 2017

Powershell to read JBoss Fuse activeMQ using Powershell with NMS Provider .Net

There wasn't much documentation available. Essentially you need 2 files to get your apps running, namely :-

1. Apache.NMS.dll

2. Apache.NMS.ActiveMQ.dll

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.

No comments: