Class EndpointEventListener

  • All Implemented Interfaces:
    javax.jcr.observation.EventListener

    public class EndpointEventListener
    extends Object
    implements javax.jcr.observation.EventListener
    A JCR EventListener which can be used to delegate processing to a Camel endpoint.
    • Constructor Detail

      • EndpointEventListener

        public EndpointEventListener​(JcrEndpoint endpoint,
                                     org.apache.camel.Processor processor)
    • Method Detail

      • onEvent

        public void onEvent​(javax.jcr.observation.EventIterator events)
        Specified by:
        onEvent in interface javax.jcr.observation.EventListener