Class OnContentUpdateRenditionRoute

  • All Implemented Interfaces:
    org.apache.camel.RoutesBuilder, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    @Component
    public class OnContentUpdateRenditionRoute
    extends org.apache.camel.spring.SpringRouteBuilder
    Rendition listener for on content update raw event.
    Author:
    Cristian Turlica
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String sourceQueue  
      • Fields inherited from class org.apache.camel.builder.RouteBuilder

        log
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void configure()  
      OnContentUpdatePolicyEvent createOnContentUpdateEvent​(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, boolean newContent)  
      • Methods inherited from class org.apache.camel.spring.SpringRouteBuilder

        getApplicationContext, lookup, lookup, setApplicationContext, transactionErrorHandler, transactionErrorHandler, transactionErrorHandler, transactionErrorHandler
      • Methods inherited from class org.apache.camel.builder.RouteBuilder

        addRoutes, addRoutesToCamelContext, checkInitialized, configureRest, configureRests, configureRoute, configureRoutes, createContainer, errorHandler, from, from, from, from, fromF, getContext, getRestCollection, getRestConfigurations, getRouteCollection, includeRoutes, intercept, interceptFrom, interceptFrom, interceptSendToEndpoint, onCompletion, onException, onException, populateRests, populateRoutes, populateTransformers, populateValidators, propertyInject, rest, rest, restConfiguration, restConfiguration, setErrorHandlerBuilder, setRestCollection, setRouteCollection, toString, transformer, validator
      • Methods inherited from class org.apache.camel.builder.BuilderSupport

        bean, bean, bean, bean, body, body, bodyAs, constant, createErrorHandlerBuilder, deadLetterChannel, deadLetterChannel, defaultErrorHandler, endpoint, endpoint, endpoints, endpoints, exceptionMessage, exchangeProperty, faultBody, faultBodyAs, getErrorHandlerBuilder, header, jsonpath, jsonpath, language, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, loggingErrorHandler, method, method, method, method, noErrorHandler, outBody, outBody, property, regexReplaceAll, regexReplaceAll, sendTo, setContext, setContext, simple, simple, simpleF, simpleF, systemProperty, systemProperty, xpath, xpath
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • sourceQueue

        @Value("${acs.repo.rendition.events.endpoint}")
        public java.lang.String sourceQueue
    • Constructor Detail

      • OnContentUpdateRenditionRoute

        public OnContentUpdateRenditionRoute()
    • Method Detail

      • configure

        public void configure()
                       throws java.lang.Exception
        Specified by:
        configure in class org.apache.camel.builder.RouteBuilder
        Throws:
        java.lang.Exception
      • createOnContentUpdateEvent

        public OnContentUpdatePolicyEvent createOnContentUpdateEvent​(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
                                                                     boolean newContent)