Class DefaultCamelRepositoryJob

java.lang.Object
org.onehippo.forge.camel.scheduling.DefaultCamelRepositoryJob
All Implemented Interfaces:
org.onehippo.repository.scheduling.RepositoryJob

public class DefaultCamelRepositoryJob extends Object implements org.onehippo.repository.scheduling.RepositoryJob
Default RepositoryJob implementation invoking Camel endpoint.

This default RepositoryJob implementation reads attributes like the following from RepositoryJobExecutionContext:

  • camel.endpoint.uri: Camel Endpoint URI to invoke. This is required.
  • camel.context.id: Camel Context ID. If not provided, it retrieves the first one found.
  • Field Details

  • Constructor Details

    • DefaultCamelRepositoryJob

      public DefaultCamelRepositoryJob()
  • Method Details

    • execute

      public void execute(org.onehippo.repository.scheduling.RepositoryJobExecutionContext context) throws RepositoryException
      Specified by:
      execute in interface org.onehippo.repository.scheduling.RepositoryJob
      Throws:
      RepositoryException