Jonathan Allen
Jonathan Allen

Reputation: 70337

How can I send a JMS message when content changes in Alfresco?

So when a piece of content changes (add, edit, or delete) I need to send a message to a JMS server with the document's ID.

How would I do this?

Upvotes: 0

Views: 444

Answers (1)

Andreas Steffan
Andreas Steffan

Reputation: 6169

A custom behaviour should do the trick. Have a look at Email Notifications on Calendar Events in Alfresco for an onCreateNode example. Update and removal works in a similiar fashion.

Assumimg JNDI is set up correctly, lookup the JMS queue/topic and create/send the message.

Upvotes: 3

Related Questions