I have some custom JMS java code (why I need to do this in the first place is another story) which I would like to submit to Monitor for retry. The aim of the exercise is remove ‘bad messages’ from a JMS queue and log them in Monitor so that they can be viewed/retried/deleted. I do not want the JMS queue clogged with bad messages, but i do not want to throw them away either.
The hard part is that I want to do this from java code and I cannot find a WmMonitor flow service which will do this. Some more facts:
- I have a broker document type (which will wrap JMS payload) that I can submit to Monitor
- I do not want to use TN for this (as per a related thread on this issue) because I want ability to resumit services, documents and process models from a single place.
Anyone know of a way to log things to Monitor programmatically ?