does erma support publishing of events via jms?

Asked by jamie archibald

Our framework uses JMS for process communication.

Ideally would like to use ERMA to publish monitor events over JMS. Then have a monitor processor subscribe to monitor events. The monitor processor would examine the events and decide whether to publish an additional JMS message to a User Interface which a User could analyze/examine.

Does ERMA have a built in MonitorProcessor and Monitor implementation for JMS?

Question information

Language:
English Edit question
Status:
Solved
For:
ERMA Edit question
Assignee:
No assignee Edit question
Solved by:
jamie archibald
Solved:
Last query:
Last reply:
Revision history for this message
Doug Barth (dougbarth) said :
#1

Not currently, however, it shouldn't be very hard to implement.

Based on your description, I'd expect you would need to write a custom MonitorProcessor that adapts Monitors to JMS messages. Based on our experience writing these types of MonitorProcessors, I'd expect it to be no more than 100 lines of Java code. You can subclass the MonitorProcessorAdapter class as a starting point.

If it would help, I'd be happy to review your implementation or answer any questions you hit along the way.

Revision history for this message
Matthew Kemp (mattkemp) said :
#2

No, there is not currently a MonitorProcessor for JMS. I'm not sure if you'd
need a new Monitor implementation for your use case. It would depend on your
requirements.

Matt

On Mon, Jul 7, 2008 at 10:08 AM, jamie archibald <
<email address hidden>> wrote:

> New question #38478 on ERMA:
> https://answers.launchpad.net/erma/+question/38478
>
> Our framework uses JMS for process communication.
>
> Ideally would like to use ERMA to publish monitor events over JMS. Then
> have a monitor processor subscribe to monitor events. The monitor processor
> would examine the events and decide whether to publish an additional JMS
> message to a User Interface which a User could analyze/examine.
>
> Does ERMA have a built in MonitorProcessor and Monitor implementation for
> JMS?
>
> --
> You received this question notification because you are a member of
> Erma-core, which is an answer contact for ERMA.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~erma-core<https://launchpad.net/%7Eerma-core>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~erma-core<https://launchpad.net/%7Eerma-core>
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
jamie archibald (jamie3) said :
#3

The framework I use is SOA based and the services (in most cases) would be running in separate VMs.
Ideally I the monitor events would be published to a MonitorProcess (which would be a web service) via JMS or even SOAP over HTTP.
I will go ahead and do up an implementation.

Will this site support 3rd party contributions? If so I could contribute my work for others to use.

.

Revision history for this message
Doug Barth (dougbarth) said :
#4

Definitely, just register a blueprint and link a Bazaar branch with the code.