All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.viadee.camunda.kafka.pollingclient.PollingClientApplication Maven / Gradle / Ivy

package de.viadee.camunda.kafka.pollingclient;

import de.viadee.camunda.kafka.pollingclient.config.properties.ApplicationProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * DataSourceAutoConfiguration is disabled, since data source must not be configured if using rest. Thus data source
 * auto configuration is enabled when using jdbc polling mode by polling configuration.
 *
 * @author viadee
 * @version $Id: $Id
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableScheduling
@EnableConfigurationProperties(ApplicationProperties.class)
public class PollingClientApplication {

    /**
     * 

* main. *

* * @param args * an array of {@link java.lang.String} objects. */ public static void main(String[] args) { SpringApplication.run(PollingClientApplication.class, args); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy