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

jadex.micro.examples.messagequeue.replicated.IMessageQueueReplicableService Maven / Gradle / Ivy

Go to download

The Jadex micro applications package contains several example applications, benchmarks and testcases using micro agents.

There is a newer version: 4.0.267
Show newest version
package jadex.micro.examples.messagequeue.replicated;

import jadex.commons.future.IFuture;
import jadex.micro.examples.messagequeue.Event;
import jadex.micro.examples.messagequeue.IMessageQueueService;

/**
 * A replicable extension of the {@link IMessageQueueService}.
 */
public interface IMessageQueueReplicableService extends IMessageQueueService 
{
	/**
	 * Publish a new event to the queue.
	 * 
	 * @param topic The topic.
	 * @param event The event to publish.
	 * @param replicate Should the event be replicated among all message queues?
	 */
	public IFuture publish(String topic, Event event, Boolean replicate);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy