0

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?

Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447
  • Which part are you having difficulty with? I just went through their documentation and they have plugin support. So you could write a plugin and then send a JMS message during one of their callbacks. – Andrew T Finnell Apr 18 '12 at 23:37
  • I find their documentation to be just shy of useless unless someone points me to the exact page that demonstrates what I need. All too often I've seen "we support X" with no mention on how to actually do X. – Jonathan Allen Apr 18 '12 at 23:39
  • Sounds like you're probably looking at the wrong site then. For details on how to do things, you'll want [docs.alfresco.com](http://docs.alfresco.com) and [wiki.alfresco.com](http://wiki.alfresco.com) - www.alfresco.com tells you what is supported while those two tell you how to use and extend it – Gagravarr Apr 19 '12 at 08:44

1 Answers1

3

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.

Community
  • 1
  • 1
Andreas Steffan
  • 6,039
  • 2
  • 23
  • 25