Class DummyTransformEventProducer

  • All Implemented Interfaces:
    TransformEventProducer

    public class DummyTransformEventProducer
    extends java.lang.Object
    implements TransformEventProducer
    Used to send transform response messages to remote transform clients. The response is identical to that produced by the Alfresco Transform Service (ATS).

    Not supported in community edition.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void produceTransformEvent​(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, java.io.InputStream transformInputStream, TransformDefinition transformDefinition, int transformContentHashCode)
      Stores content from transformInputStream on a defined store, produces a TransformReply response message and send it to a specific queue defined in transformDefinition.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DummyTransformEventProducer

        public DummyTransformEventProducer()
    • Method Detail

      • produceTransformEvent

        public void produceTransformEvent​(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
                                          java.io.InputStream transformInputStream,
                                          TransformDefinition transformDefinition,
                                          int transformContentHashCode)
        Description copied from interface: TransformEventProducer
        Stores content from transformInputStream on a defined store, produces a TransformReply response message and send it to a specific queue defined in transformDefinition.
        Specified by:
        produceTransformEvent in interface TransformEventProducer
        Parameters:
        sourceNodeRef - the node from which the content is retrieved.
        transformInputStream - content resulted after transformation.
        transformDefinition - which defines the transform, where to sent the response and some client specified data.
        transformContentHashCode - hash code of the resulted content.