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
      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​(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
    • Field Detail

      • sourceQueue

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

      • OnContentUpdateRenditionRoute

        public OnContentUpdateRenditionRoute()
    • Method Detail

      • configure

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