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

jadex.micro.messagequeue.Main Maven / Gradle / Ivy

package jadex.micro.messagequeue;

import jadex.core.IComponent;

/**
 *  Main for starting the example programmatically.
 */
public class Main 
{
	/**
	 *  Start a platform and the example.
	 */
	public static void main(String[] args) 
	{
		IComponent.create(new MessageQueueAgent());
		
		IComponent.create(new UserAgent());
		IComponent.create(new UserAgent());
		
		IComponent.waitForLastComponentTerminated();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy