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

com.devonfw.module.kafka.common.messaging.api.config.MessageSenderProperties Maven / Gradle / Ivy

There is a newer version: 2023.01.001
Show newest version
package com.devonfw.module.kafka.common.messaging.api.config;

import com.devonfw.module.kafka.common.messaging.api.client.MessageSender;

/**
 * A property class used to configure for {@link MessageSender}
 *
 * @deprecated The implementation of devon4j-kafka will be abandoned. It is superseeded by Springs Kafka
 *             implementation.
 */
@Deprecated
public class MessageSenderProperties {

  private int defaultSendTimeoutSeconds = 60;

  /**
   * @return the default timeout seconds.
   */
  public int getDefaultSendTimeoutSeconds() {

    return this.defaultSendTimeoutSeconds;
  }

  /**
   * Set the default timeout seconds for {@link #getDefaultSendTimeoutSeconds()}.
   *
   * @param defaultSendTimeoutSeconds the default timeout seconds.
   */
  public void setDefaultSendTimeoutSeconds(int defaultSendTimeoutSeconds) {

    this.defaultSendTimeoutSeconds = defaultSendTimeoutSeconds;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy