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

org.ogema.messaging.msgpublisher.MsgPublisherConfig Maven / Gradle / Ivy

The newest version!
package org.ogema.messaging.msgpublisher;

import org.osgi.service.metatype.annotations.AttributeDefinition;
import org.osgi.service.metatype.annotations.ObjectClassDefinition;

@ObjectClassDefinition
public @interface MsgPublisherConfig {

	@AttributeDefinition(description = "Maximum lifetime of remote message resources in days. If this is <= 0, then "
		+ " the message resources are kept indefinitely.", defaultValue = "30")
	long daysToKeepMessages() default 30;
	@AttributeDefinition(description = "Maximum number of remote message resources to keep. If this is <= 0, then "
			+ " no limit is imposed", defaultValue = "100")
	int maxMessagesToKeep() default 100;
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy