Class StubTransformReplyProvider

java.lang.Object
org.alfresco.repo.rendition2.StubTransformReplyProvider
All Implemented Interfaces:
TransformReplyProvider

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

Not currently supported in community edition.

  • Constructor Details

    • StubTransformReplyProvider

      public StubTransformReplyProvider()
  • Method Details

    • produceTransformEvent

      public void produceTransformEvent(NodeRef sourceNodeRef, InputStream transformInputStream, TransformDefinition transformDefinition, int transformContentHashCode)
      Description copied from interface: TransformReplyProvider
      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 TransformReplyProvider
      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.